Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#20382 closed defect (bug) (fixed)

When the admin menu is folded, the icons aren't centered

Reported by: azaozz Owned by: azaozz
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: UI Keywords: ui-feedback
Focuses: Cc:


Noticed that when adding the retina display 2x sized icons.

Attachments (4)

before.jpg (11.0 KB) - added by azaozz 10 years ago.
after.jpg (11.2 KB) - added by azaozz 10 years ago.
20382.patch (5.1 KB) - added by azaozz 10 years ago.
20382.diff (4.7 KB) - added by helenyhou 10 years ago.

Download all attachments as: .zip

Change History (10)

10 years ago

10 years ago

#1 @azaozz
10 years ago

Seems most are 1px off center, the "posts" icon 2px.

10 years ago

#2 @azaozz
10 years ago

Not sure if the best way to fix this is by tweaking the sprite or in the css. 20382.patch corrects it from the css.

#3 @azaozz
10 years ago

  • Keywords ui-feedback added

#4 @helenyhou
10 years ago

Haven't figured out what caused that to shift, since the regular sprite didn't change but still seems affected, but a CSS change seems sane enough. The post icon actually looks like it was 1px too far to the left in 3.3.1 to begin with :( 20382.patch looks good to me, testing on both regular desktop and new iPad.

10 years ago

#5 @helenyhou
10 years ago

Actually, the users menu icon seemed 1px to the right. 20382.diff for that.

#6 @azaozz
10 years ago

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

In [20400]:

Center the menu icons when the menu is folded. For proper display in RTL the width of .wp-menu-image has to be 30px. Props helenyhou, fixes #20382

Note: See TracTickets for help on using tickets.