Opened 6 years ago
Closed 6 years ago
#49727 closed defect (bug) (fixed)
Dashboard widgets toggle arrow is not vertically middle in small screens.
| Reported by: | chetan200891 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-screenshots has-patch |
| Cc: | Focuses: | ui |
Description
In Dashboard widget, in mobile view toggle arrow for widgets is not in vertically centered. It is due to margin-top. Added by post/page meta boxes. Another option is we can make title h2 with same padding as in page/post meta boxes.
Attachments (3)
Change History (7)
#3
in reply to: ↑ description
@
6 years ago
Thanks for the ticket!
In Dashboard widget, in mobile view toggle arrow for widgets is not in vertically centered. It is due to margin-top. Added by post/page meta boxes.
This appears to be a regression in WordPress 4.8 introduced in [40059], which removed the .button-link class from these arrows. Previously, .wp-core-ui .button-link { margin: 0; } used to override these extra 3 pixels.
Another option is we can make title h2 with same padding as in page/post meta boxes.
I think this would be the preferred option here. It would make the size of the heading in post meta boxes and dashboard widgets consistent.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Before.