Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#26158 closed defect (bug) (wontfix)

WP 3.8-beta1 - MP6: wrong alignment of .button-primary css class

Reported by: harmr's profile harmr Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: ui Cc:

Description

I installed 3.8-beta1 and found that the css class .button-primary is missing the parameter "vertical-align:top;" (in contrast to for example .button-secondary).

As I use both classes within my plugin admin header menu, this leads to a misalignement of the primary button and decreased line height. See this screenshot for more details: http://pro.mapsmarker.com/button-primary-issue.png

Adding vertical-align:top; to .button-primary would solve this issue.

Attachments (1)

26158-add-class-button-suggestion.png (23.3 KB) - added by seanchayes 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
11 years ago

  • Keywords ui-focus added; mp6 removed
  • Milestone changed from Awaiting Review to 3.8

#2 @seanchayes
11 years ago

Hi Robert,

Here's a suggestion.

You might try adding the class "button" to your markup on the plugin header menu - like this:


I tried that and found the alignment of the buttons matched regardless of primary or secondary.

Would that work for you perhaps?

#3 @harmr
11 years ago

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

Thanks - that worked for me!

#4 @SergeyBiryukov
11 years ago

  • Milestone 3.8 deleted
Note: See TracTickets for help on using tickets.