feat(css): add sidebar-hidden class to hide completely the sidebar

pull/4181/head
REJack 2022-01-12 19:15:17 +01:00
parent c1101389a3
commit 0927e68fa4
1 changed files with 11 additions and 0 deletions

View File

@ -1167,6 +1167,17 @@
}
}
.sidebar-hidden,
.sidebar-hidden.sidebar-mini.sidebar-collapse {
.main-sidebar {
display: none !important;
}
.content-wrapper,
.main-header {
margin-left: 0 !important;
}
}
@include dark-mode() {
@each $name, $color in $theme-colors-alt {
.sidebar-dark-#{$name},