Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26131 closed defect (bug) (fixed)

Sortable WP List Table headers are misaligned

Reported by: jeremyfelt Owned by: iammattthomas
Priority: low Milestone: 3.8
Component: Administration Version: 3.8
Severity: trivial Keywords: has-patch
Cc: Focuses: ui

Description

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;.

Attachments (1)

26131.diff (375 bytes ) - added by jeremyfelt 13 years ago.

Download all attachments as: .zip

Change History (4)

@jeremyfelt
13 years ago

#1 @SergeyBiryukov
13 years ago

  • Component AppearanceAdministration
  • Keywords ui-focus added

#2 @matt
13 years ago

  • Priority normallow
  • Severity normaltrivial

#3 @iammattthomas
13 years ago

  • Owner set to iammattthomas
  • Resolutionfixed
  • Status newclosed

In 26424:

Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.

Note: See TracTickets for help on using tickets.