Hide other elements in wpcontent while in full screen mode (https://github.com/woocommerce/woocommerce-admin/pull/3621)
This commit is contained in:
parent
fcd2d517cd
commit
d1ef0eb029
|
@ -30,6 +30,7 @@
|
||||||
.woocommerce-admin-is-loading {
|
.woocommerce-admin-is-loading {
|
||||||
#adminmenumain,
|
#adminmenumain,
|
||||||
#wpfooter,
|
#wpfooter,
|
||||||
|
#wpcontent,
|
||||||
#wpadminbar,
|
#wpadminbar,
|
||||||
#wpbody-content,
|
#wpbody-content,
|
||||||
.woocommerce-layout__header,
|
.woocommerce-layout__header,
|
||||||
|
@ -50,11 +51,16 @@
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
||||||
'Helvetica Neue', sans-serif;
|
'Helvetica Neue', sans-serif;
|
||||||
|
|
||||||
|
#wpwrap {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#wpbody-content {
|
#wpbody-content {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide wp-admin and WooCommerce elements when the dashboard body class is present */
|
/* Hide wp-admin and WooCommerce elements when the dashboard body class is present */
|
||||||
|
#wpcontent > *,
|
||||||
#adminmenumain,
|
#adminmenumain,
|
||||||
.woocommerce-layout__header,
|
.woocommerce-layout__header,
|
||||||
.update-nag,
|
.update-nag,
|
||||||
|
@ -68,5 +74,9 @@
|
||||||
|
|
||||||
#wpcontent {
|
#wpcontent {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
||||||
|
> #wpbody {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue