Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions DNN Platform/Skins/Aperture/src/scss/utilities/_dimension.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ $sizes: (
max-height: $value;
}
}
@each $breakpoint, $min-width in breakpoints.$breakpoints {
@media (min-width: $min-width) {
}

// Breakpoints must be the outer loop so that a larger breakpoint's rules
// always come later in the stylesheet than a smaller breakpoint's rules.
// Otherwise two !important rules from different breakpoints/sizes that are
// simultaneously active fall back to source order, and the wrong one wins.
@each $breakpoint, $min-width in breakpoints.$breakpoints {
@media (min-width: $min-width) {
@each $key, $value in $sizes {
.aperture-#{$property}-#{$breakpoint}-#{$key} {
@if ($property == 'w') {
width: $value !important;
Expand Down
Loading