diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 10 |
1 files changed, 9 insertions, 1 deletions
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) |