Override wpbody styles when nav present (https://github.com/woocommerce/woocommerce-admin/pull/6354)
* Override wpbody styles when nav present * Use negative margin only when toolbar exists Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
This commit is contained in:
parent
00676f12b5
commit
589283f652
|
@ -45,13 +45,8 @@
|
|||
.woocommerce-admin-full-screen {
|
||||
background: $studio-gray-0;
|
||||
color: $studio-gray-60;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
||||
'Helvetica Neue', sans-serif;
|
||||
|
||||
margin-top: -$adminbar-height;
|
||||
@include breakpoint( '<600px' ) {
|
||||
margin-top: -$adminbar-height-mobile;
|
||||
}
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
||||
|
||||
#wpwrap {
|
||||
top: 0;
|
||||
|
@ -82,6 +77,19 @@
|
|||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-woocommerce-navigation {
|
||||
#wpbody {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wp-toolbar .woocommerce-admin-full-screen {
|
||||
margin-top: -$adminbar-height;
|
||||
@include breakpoint( '<600px' ) {
|
||||
margin-top: -$adminbar-height-mobile;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-onboarding {
|
||||
|
|
Loading…
Reference in New Issue