#26158 closed defect (bug) (wontfix)
WP 3.8-beta1 - MP6: wrong alignment of .button-primary css class
Reported by: | 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)
Change History (5)
Note: See
TracTickets for help on using
tickets.
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?