mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
9c0e9fb055
commit
b754603f04
@ -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 {
|
||||
|
4
wp-admin/css/common-rtl.min.css
vendored
4
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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 {
|
||||
|
4
wp-admin/css/common.min.css
vendored
4
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user