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 cf18c9d commit 2f32623Copy full SHA for 2f32623
scss/sidebar/_sidebar.scss
@@ -55,11 +55,17 @@
55
@each $width, $value in $sidebar-widths {
56
&.sidebar-#{$width} {
57
--#{$variable-prefix}sidebar-width: #{$value};
58
- --#{$variable-prefix}sidebar-occupy-start: #{$value};
59
-
60
- ~ * {
61
- --#{$variable-prefix}sidebar-width: #{$value};
62
- --#{$variable-prefix}sidebar-occupy-end: #{$value};
+ @include media-breakpoint-up($mobile-breakpoint) {
+ &:not(.sidebar-end):not(.hide) {
+ ~ * {
+ --#{$variable-prefix}sidebar-occupy-start: #{$value};
+ }
63
64
+ &.sidebar-end:not(.hide) {
65
66
+ --#{$variable-prefix}sidebar-occupy-end: #{$value};
67
68
69
}
70
71
0 commit comments