[wp-trac] [WordPress Trac] #51617: function _admin_bar_bump_cb() conflict with admin-bar.css on screens <= 600px (was: function _admin_bar_bump_cb() conflict on screens <= 600px)
WordPress Trac
noreply at wordpress.org
Sat Oct 24 00:42:47 UTC 2020
#51617: function _admin_bar_bump_cb() conflict with admin-bar.css on screens <=
600px
-------------------------------------+-------------------------------------
Reporter: zeinnicholas | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Toolbar | Version: trunk
Severity: minor | Resolution:
Keywords: needs-patch needs- | Focuses: ui, css, coding-
refresh needs-design needs- | standards
design-feedback |
-------------------------------------+-------------------------------------
Comment (by zeinnicholas):
On second thought, I think it's better to approach this differently.
It's better if we simply add the following CSS property to
[https://core.trac.wordpress.org/browser/trunk/src/wp-includes/css/admin-
bar.css#L1011 admin-bar.css#L1011]:
{{{
#wpadminbar {
position: absolute;
top: -46px;
}
}}}
This way we can avoid possible issues with other CSS applied to the body.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51617#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list