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},