aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss6
-rw-r--r--client/src/sass/application.scss10
2 files changed, 9 insertions, 7 deletions
diff --git a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss
index 655c38489..84dd7dce3 100644
--- a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss
+++ b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss
@@ -1,12 +1,6 @@
1@import '_variables'; 1@import '_variables';
2@import '_mixins'; 2@import '_mixins';
3 3
4:host {
5 display: block;
6 height: $sub-menu-height;
7 margin-bottom: $sub-menu-margin-bottom;
8}
9
10.parent-entry { 4.parent-entry {
11 span[role=button] { 5 span[role=button] {
12 cursor: pointer; 6 cursor: pointer;
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index c76e5db7b..ea89ca9ce 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -136,6 +136,10 @@ label {
136 flex-grow: 1; 136 flex-grow: 1;
137 } 137 }
138 138
139 my-top-menu-dropdown + .margin-content {
140 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
141 }
142
139 .sub-menu { 143 .sub-menu {
140 background-color: pvar(--submenuColor); 144 background-color: pvar(--submenuColor);
141 width: 100%; 145 width: 100%;
@@ -145,7 +149,11 @@ label {
145 padding-left: $not-expanded-horizontal-margins; 149 padding-left: $not-expanded-horizontal-margins;
146 padding-right: $not-expanded-horizontal-margins; 150 padding-right: $not-expanded-horizontal-margins;
147 position: fixed; 151 position: fixed;
148 z-index: 1; 152 z-index: #{z('header') - 1};
153
154 & + .margin-content {
155 margin-top: $sub-menu-margin-bottom;
156 }
149 } 157 }
150 158
151 // Override some properties if the main content is expanded (no menu on the left) 159 // Override some properties if the main content is expanded (no menu on the left)