Skip to content

Commit aa5a4de

Browse files
Merge pull request #5908 from david-poindexter/dnn10-theme-dimension-responsive-fix
Resolve issue with responsive `dimension` utility classes
2 parents c2ce544 + ab839a2 commit aa5a4de

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

DNN Platform/Skins/Aperture/src/scss/utilities/_dimension.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,19 @@ $sizes: (
2929
@each $breakpoint, $min-width in $breakpoints {
3030
@media (min-width: $min-width) {
3131
.aperture-#{$property}-#{$breakpoint}-#{$key} {
32-
#{$property}: #{$value} !important;
32+
@if ($property == 'w') {
33+
width: $value !important;
34+
} @else if($property == 'h') {
35+
height: $value !important;
36+
} @else if($property == 'min-w') {
37+
min-width: $value !important;
38+
} @else if($property == 'min-h') {
39+
min-height: $value !important;
40+
} @else if($property == 'max-w') {
41+
max-width: $value !important;
42+
} @else if($property == 'max-h') {
43+
max-height: $value !important;
44+
}
3345
}
3446
}
3547
}

0 commit comments

Comments
 (0)