mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 09:53:23 +00:00
(js) Allow hiding the sidenav on large screens
Position of button is not final as it causes an issue with the tabs of the Calendar module.
This commit is contained in:
@@ -7,9 +7,14 @@ $sidenav-min-space: $pitch;
|
||||
md-sidenav {
|
||||
&.md-locked-open {
|
||||
@include from(lg) {
|
||||
@include flex-col(lg, 4, 1, 0)
|
||||
@include flex-col(lg, 4, 1, 0);
|
||||
// Custom representation of a closed sidenav where the sidenav is pushed to the left;
|
||||
// Used in in "locked open" mode.
|
||||
&.sg-closed.md-sidenav-left {
|
||||
transform: translateX(-100%);
|
||||
margin-right: -20vw; // See views/_views.scss
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user