File tree Expand file tree Collapse file tree
DNN Platform/Skins/Aperture/src/scss/utilities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,15 @@ $sizes: (
2828 max-height : $value ;
2929 }
3030 }
31- @each $breakpoint , $min-width in breakpoints .$breakpoints {
32- @media (min-width : $min-width ) {
31+ }
32+
33+ // Breakpoints must be the outer loop so that a larger breakpoint's rules
34+ // always come later in the stylesheet than a smaller breakpoint's rules.
35+ // Otherwise two !important rules from different breakpoints/sizes that are
36+ // simultaneously active fall back to source order, and the wrong one wins.
37+ @each $breakpoint , $min-width in breakpoints .$breakpoints {
38+ @media (min-width : $min-width ) {
39+ @each $key , $value in $sizes {
3340 .aperture-#{$property } -#{$breakpoint } -#{$key } {
3441 @if ($property == ' w' ) {
3542 width : $value !important ;
You can’t perform that action at this time.
0 commit comments