Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#26131 closed defect (bug) (fixed)

Sortable WP List Table headers are misaligned

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

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 10 years ago.

Download all attachments as: .zip

Change History (4)

@jeremyfelt
10 years ago

#1 @SergeyBiryukov
10 years ago

  • Component changed from Appearance to Administration
  • Keywords ui-focus added

#2 @matt
10 years ago

  • Priority changed from normal to low
  • Severity changed from normal to trivial

#3 @iammattthomas
10 years ago

  • Owner set to iammattthomas
  • Resolution set to fixed
  • Status changed from new to closed

In 26424:

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

Note: See TracTickets for help on using tickets.