Skip to content

Commit dee96ad

Browse files
edi-odooAntoineVDV
authored andcommitted
[IMP] odoo_theme: change collapsing menu orientation
task-2800937
1 parent 411e1cb commit dee96ad

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

extensions/odoo_theme/static/style.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ header {
181181
height: 100%;
182182
overflow-y: auto;
183183
position: fixed;
184-
top: -100%;
185-
left:0;
184+
left: -100%;
186185
@include o-transition(all, .3s);
187186
padding-left: $padding-s;
188187
background-color: lighten($o-violet-dark, 70%) ;
@@ -192,8 +191,8 @@ header {
192191
font-weight: $fw_regular;
193192
@include media-breakpoint-up(lg) {
194193
width: calc(#{$o-side-nav-width} - 1rem);
195-
height: calc(100vh - #{$o-header-height});
196-
top: $o-header-height;
194+
height: calc(100vh - #{$o-headers-height});
195+
left: 0;
197196
padding-top: $padding-m;
198197
padding-left: $padding-m;
199198
}
@@ -202,7 +201,7 @@ header {
202201
}
203202

204203
&.show {
205-
top: $o-header-mobile-height;
204+
left: 0;
206205
}
207206

208207
.toctree-l1 {

0 commit comments

Comments
 (0)