[wp-trac] [WordPress Trac] #26131: Sortable WP List Table headers are misaligned

WordPress Trac noreply at wordpress.org
Wed Nov 20 20:28:01 UTC 2013


#26131: Sortable WP List Table headers are misaligned
--------------------------+-----------------------
 Reporter:  jeremyfelt    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.8
Component:  Appearance    |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 In WP List Table, non sortable table headers have a padding of `padding:
 8px 10px;`. When a column is set to be sortable, the padding for the table
 header goes to `padding: 0px;` and padding is added to the anchor instead
 of `padding: 7px 7px 8px;`.

 This results in a noticeable `3px` difference between the two styles. The
 sortable version ends up being misaligned with the other items in its
 column. This behavior changed as of the new admin style merge.

 The attached patch brings the sortable item back in line with `padding:
 7px 7px 8px 10px;`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26131>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list