A platform for community discussion. Free, open, simple.
UX: undefined $sidebar-width variable in legacy breakpoint mixin (#38246)
Isaac Janzen2c4c4502a4c3
diff --git a/app/assets/stylesheets/common/foundation/mixins.scss b/app/assets/stylesheets/common/foundation/mixins.scssindex d4ea9a71c19..e20e979a68d 100644--- a/app/assets/stylesheets/common/foundation/mixins.scss+++ b/app/assets/stylesheets/common/foundation/mixins.scss@@ -41,7 +41,7 @@ $breakpoints: (@if $sidebar {// when the sidebar is shown, we want to increase the breakpoints by the width of the sidebar/* stylelint-disable-next-line scss/no-global-function-names */- @media #{$type} and (#{$rule}: calc(#{map-get($breakpoints, $bp)} + #{$sidebar-width})) {+ @media #{$type} and (#{$rule}: calc(#{map-get($breakpoints, $bp)} + #{$d-sidebar-width})) {.has-sidebar-page {@content;}