We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48ce0e commit 5a72efbCopy full SHA for 5a72efb
scss/sidebar/_sidebar.scss
@@ -38,14 +38,16 @@
38
@each $width, $value in $sidebar-widths {
39
&.sidebar-#{$width} {
40
--#{$variable-prefix}sidebar-width: #{$value};
41
- &:not(.sidebar-end) {
42
- ~ * {
43
- --#{$variable-prefix}sidebar-occupy-start: #{$value};
+ @include media-breakpoint-up($mobile-breakpoint) {
+ &:not(.sidebar-end):not(.hide) {
+ ~ * {
44
+ --#{$variable-prefix}sidebar-occupy-start: #{$value};
45
+ }
46
}
- }
- &.sidebar-end {
47
48
- --#{$variable-prefix}sidebar-occupy-end: #{$value};
+ &.sidebar-end:not(.hide) {
49
+ --#{$variable-prefix}sidebar-occupy-end: #{$value};
50
51
52
53
0 commit comments