[wp-trac] [WordPress Trac] #15993: Sort arrows improperly wrap on narrow columns

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 29 04:44:11 UTC 2010


#15993: Sort arrows improperly wrap on narrow columns
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------

Comment (by SergeyBiryukov):

 `nowrap` doesn't work if a parent `th` element has fixed width (10% in
 this case).

 So far the only solutions I can think of are:
 1. Display sorting indicator as a background for the link itself, without
 additional `<span>`. This actually works and keeps the same appearance,
 but requires two separate sprites instead of one.
 2. Use only `min-width` for those columns or don't specify the width at
 all. This makes the header noticeably wider, and the whole column looks
 odd because it's not left aligned like others.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15993#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list