Skip to content

Commit

Permalink
Toolbar: Fix dropdown admin menu styles on front-end.
Browse files Browse the repository at this point in the history
This changeset switches back the admin menu items `height` property to `px` unit to prevent issues with themes using `html { font-size: 62.5%; }`.

Follow-up to [57765].

Props bgnicolepaschen, sabernhardt, huzaifaalmesbah, ironprogrammer, shailu25.
Fixes #60707.
See #43633.





git-svn-id: https://develop.svn.wordpress.org/trunk@57792 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Mar 8, 2024
1 parent ac2ba69 commit 968780b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/css/admin-bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
#wpadminbar .shortlink-input {
line-height: 2;
height: 1.625rem;
height: 26px;
white-space: nowrap;
min-width: 140px;
}
Expand Down Expand Up @@ -463,7 +463,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar #wp-admin-bar-user-info span {
background: none;
padding: 0;
height: 1.125rem;
height: 18px;
}

#wpadminbar #wp-admin-bar-user-info .display-name,
Expand Down

0 comments on commit 968780b

Please sign in to comment.