mirror of https://github.com/ColorlibHQ/AdminLTE
feat(css): add sidebar-hidden class to hide completely the sidebar
parent
c1101389a3
commit
0927e68fa4
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue