aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorKim <1877318+kimsible@users.noreply.github.com>2020-07-24 23:29:39 +0200
committerGitHub <noreply@github.com>2020-07-24 23:29:39 +0200
commita949f676368b2ea885a5f76f09c831c8a13a3c39 (patch)
tree90c7a0d60e5b87552117ba49b27e2e6fa35bc7b9 /client/src/sass
parent2e7f262724dd64a209e0bad5930ba29bb4f801c3 (diff)
downloadPeerTube-a949f676368b2ea885a5f76f09c831c8a13a3c39.tar.gz
PeerTube-a949f676368b2ea885a5f76f09c831c8a13a3c39.tar.zst
PeerTube-a949f676368b2ea885a5f76f09c831c8a13a3c39.zip
correct regressions on sub-menu for account and admin (#3004)
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/application.scss10
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)