Making WordPress.org

Opened 2 years ago

Closed 3 months ago

#6457 closed defect (bug) (fixed)

(design/css) o2 dropdown (...) item isn't aligned middle & looks slightly broken when only one menu item

Reported by: hztyfoon's profile hztyfoon Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords: needs-patch has-screenshots
Cc:

Description

For Example:
in Make WordPress Core page (https://make.wordpress.org/core/) click the three dots icon (...) at the top right corner of any post and a dropdown the menu item 'shortlink' will appear. you'll see it doesn't look vertically centre aligned.

I also found, using 'vertical-align:middle' to the 'li' tag ('nav.o2-dropdown-actions ul li') or the 'a' tag inside the 'li' fixs it.

using 'line-height:1' to the 'li' tag also makes it center aligned.

Attachments (1)

Screenshot at Aug 27 09-10-40.png (844.5 KB) - added by hztyfoon 2 years ago.
'Shortlink' dropdown item isn't vertically middle

Download all attachments as: .zip

Change History (3)

@hztyfoon
2 years ago

'Shortlink' dropdown item isn't vertically middle

#1 @hztyfoon
2 years ago

  • Keywords needs-patch has-screenshots added

#2 @coffee2code
3 months ago

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

In 13678:

Breathe: Ensure vertical centering for single post action link.

Props hztyfoon, coffee2code.
Fixes #6547.

(I typo'd the associated ticket getting fixed, which was supposed to be this ticket.)

Note: See TracTickets for help on using tickets.