From 0927e68fa4e52e7f82f4ce076c1e9f3c043ae9ed Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 12 Jan 2022 19:15:17 +0100 Subject: [PATCH] feat(css): add sidebar-hidden class to hide completely the sidebar --- build/scss/_main-sidebar.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build/scss/_main-sidebar.scss b/build/scss/_main-sidebar.scss index 43bd41aad..7127ea870 100644 --- a/build/scss/_main-sidebar.scss +++ b/build/scss/_main-sidebar.scss @@ -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},