[wp-trac] [WordPress Trac] #49727: Dashboard widgets toggle arrow is not vertically middle in small screens.
WordPress Trac
noreply at wordpress.org
Tue Mar 31 02:45:59 UTC 2020
#49727: Dashboard widgets toggle arrow is not vertically middle in small screens.
---------------------------------------+-----------------------------
Reporter: chetan200891 | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui
---------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49727#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list