Administration: Prevents horizontal scroll jumping around while admin menu is open.

This sets the `#adminmenuback` `position` CSS property to `fixed`.

Props promz, man4toman.
Fixes #47010.

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


git-svn-id: http://core.svn.wordpress.org/trunk@46258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
antpb 2019-10-11 19:22:02 +00:00
parent 66c8085fc4
commit ebd52ce048
5 changed files with 11 additions and 3 deletions

View File

@ -760,6 +760,10 @@ li#wp-admin-bar-menu-toggle {
z-index: 100;
}
.auto-fold #adminmenuback {
position: fixed;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
display: none;

File diff suppressed because one or more lines are too long

View File

@ -760,6 +760,10 @@ li#wp-admin-bar-menu-toggle {
z-index: 100;
}
.auto-fold #adminmenuback {
position: fixed;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
display: none;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-beta3-46459';
$wp_version = '5.3-beta3-46460';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.