Toolbar: Fix dropdown admin menu styles on front-end.

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.




Built from https://develop.svn.wordpress.org/trunk@57792


git-svn-id: http://core.svn.wordpress.org/trunk@57293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2024-03-08 22:11:12 +00:00
parent 1cd07a318a
commit b724c7ce03
5 changed files with 7 additions and 7 deletions

View File

@ -188,7 +188,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
#wpadminbar .shortlink-input { #wpadminbar .shortlink-input {
line-height: 2; line-height: 2;
height: 1.625rem; height: 26px;
white-space: nowrap; white-space: nowrap;
min-width: 140px; min-width: 140px;
} }
@ -464,7 +464,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar #wp-admin-bar-user-info span { #wpadminbar #wp-admin-bar-user-info span {
background: none; background: none;
padding: 0; padding: 0;
height: 1.125rem; height: 18px;
} }
#wpadminbar #wp-admin-bar-user-info .display-name, #wpadminbar #wp-admin-bar-user-info .display-name,

File diff suppressed because one or more lines are too long

View File

@ -187,7 +187,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
#wpadminbar .shortlink-input { #wpadminbar .shortlink-input {
line-height: 2; line-height: 2;
height: 1.625rem; height: 26px;
white-space: nowrap; white-space: nowrap;
min-width: 140px; min-width: 140px;
} }
@ -463,7 +463,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar #wp-admin-bar-user-info span { #wpadminbar #wp-admin-bar-user-info span {
background: none; background: none;
padding: 0; padding: 0;
height: 1.125rem; height: 18px;
} }
#wpadminbar #wp-admin-bar-user-info .display-name, #wpadminbar #wp-admin-bar-user-info .display-name,

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.6-alpha-57791'; $wp_version = '6.6-alpha-57792';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.