Toolbar: Use CSS variable for the admin bar height in wp-admin/css/common.css.

Follow-up to [16600], [21025], [26072].

Props tdrayson, niravsherasiya7707, mukesh27.
See #61898.
Built from https://develop.svn.wordpress.org/trunk@58929


git-svn-id: http://core.svn.wordpress.org/trunk@58325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-08-24 00:05:12 +00:00
parent 9c0e9fb055
commit b754603f04
5 changed files with 9 additions and 9 deletions

View File

@ -2032,7 +2032,7 @@ p.auto-update-status {
------------------------------------------------------------------------------*/
html.wp-toolbar {
padding-top: 32px;
padding-top: var(--wp-admin--admin-bar--height);
box-sizing: border-box;
-ms-overflow-style: scrollbar; /* See ticket #48545 */
}
@ -3841,7 +3841,7 @@ img {
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 46px;
padding-top: var(--wp-admin--admin-bar--height);
}
.screen-reader-shortcut:focus {

File diff suppressed because one or more lines are too long

View File

@ -2031,7 +2031,7 @@ p.auto-update-status {
------------------------------------------------------------------------------*/
html.wp-toolbar {
padding-top: 32px;
padding-top: var(--wp-admin--admin-bar--height);
box-sizing: border-box;
-ms-overflow-style: scrollbar; /* See ticket #48545 */
}
@ -3840,7 +3840,7 @@ img {
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 46px;
padding-top: var(--wp-admin--admin-bar--height);
}
.screen-reader-shortcut:focus {

File diff suppressed because one or more lines are too long

View File

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