Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on #wp-toolbar
. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications.
Props joemcgill, see #30516. git-svn-id: https://develop.svn.wordpress.org/trunk@30710 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f026b91515
commit
9dba6cd0a7
@ -1283,7 +1283,10 @@ table.links-table {
|
|||||||
transition-property: opacity;
|
transition-property: opacity;
|
||||||
-webkit-transition-timing-function: ease-in-out;
|
-webkit-transition-timing-function: ease-in-out;
|
||||||
transition-timing-function: ease-in-out;
|
transition-timing-function: ease-in-out;
|
||||||
transform: translateZ(0);
|
}
|
||||||
|
|
||||||
|
.focus-off #wp-toolbar {
|
||||||
|
-webkit-transform: translate(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.focus-on #adminmenuback,
|
.focus-on #adminmenuback,
|
||||||
|
Loading…
Reference in New Issue
Block a user