correct regressions on sub-menu for account and admin (#3004)
This commit is contained in:
parent
2e7f262724
commit
a949f67636
|
@ -1,12 +1,6 @@
|
||||||
@import '_variables';
|
@import '_variables';
|
||||||
@import '_mixins';
|
@import '_mixins';
|
||||||
|
|
||||||
:host {
|
|
||||||
display: block;
|
|
||||||
height: $sub-menu-height;
|
|
||||||
margin-bottom: $sub-menu-margin-bottom;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parent-entry {
|
.parent-entry {
|
||||||
span[role=button] {
|
span[role=button] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -136,6 +136,10 @@ label {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my-top-menu-dropdown + .margin-content {
|
||||||
|
padding-top: $sub-menu-height + $sub-menu-margin-bottom;
|
||||||
|
}
|
||||||
|
|
||||||
.sub-menu {
|
.sub-menu {
|
||||||
background-color: pvar(--submenuColor);
|
background-color: pvar(--submenuColor);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -145,7 +149,11 @@ label {
|
||||||
padding-left: $not-expanded-horizontal-margins;
|
padding-left: $not-expanded-horizontal-margins;
|
||||||
padding-right: $not-expanded-horizontal-margins;
|
padding-right: $not-expanded-horizontal-margins;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1;
|
z-index: #{z('header') - 1};
|
||||||
|
|
||||||
|
& + .margin-content {
|
||||||
|
margin-top: $sub-menu-margin-bottom;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override some properties if the main content is expanded (no menu on the left)
|
// Override some properties if the main content is expanded (no menu on the left)
|
||||||
|
|
Loading…
Reference in New Issue