Skip to content

Commit db45ea2

Browse files
committed
Revert "fix: incompatible units in scss calculations"
This reverts commit b16d10e.
1 parent 8a4c400 commit db45ea2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

engines/common/nucleus/scss/nucleus/mixins/_breakpoints.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
@media only #{$media} and (min-width: $breakpoints-large-desktop-container) { @content; }
55
}
66
@else if $breakpoint == desktop-range {
7-
@media only #{$media} and (min-width: $breakpoints-desktop-container) and (max-width: calc(#{$breakpoints-large-desktop-container} - 0.01rem)) { @content; }
7+
@media only #{$media} and (min-width: $breakpoints-desktop-container) and (max-width: $breakpoints-large-desktop-container - 0.01rem) { @content; }
88
}
99
@else if $breakpoint == desktop-only {
1010
@media only #{$media} and (min-width: $breakpoints-desktop-container) { @content; }
1111
}
1212
@else if $breakpoint == tablet-range {
13-
@media only #{$media} and (min-width: $breakpoints-tablet-container) and (max-width: calc(#{$breakpoints-desktop-container} - 0.01rem)) { @content; }
13+
@media only #{$media} and (min-width: $breakpoints-tablet-container) and (max-width: $breakpoints-desktop-container - 0.01rem) { @content; }
1414
}
1515
@else if $breakpoint == large-mobile-range {
16-
@media only #{$media} and (min-width: calc(#{$breakpoints-large-mobile-container} + 0.01rem)) and (max-width: calc(#{$breakpoints-tablet-container} - 0.01rem)) { @content; }
16+
@media only #{$media} and (min-width: $breakpoints-large-mobile-container + 0.01rem) and (max-width: $breakpoints-tablet-container - 0.01rem) { @content; }
1717
}
1818
@else if $breakpoint == small-mobile-range {
1919
@media only #{$media} and (max-width: $breakpoints-large-mobile-container) { @content; }
@@ -22,9 +22,9 @@
2222
@media only #{$media} and (min-width: $breakpoints-tablet-container) { @content; }
2323
}
2424
@else if $breakpoint == mobile-only {
25-
@media only #{$media} and (max-width: calc(#{$breakpoints-tablet-container} - 0.01rem)) { @content; }
25+
@media only #{$media} and (max-width: $breakpoints-tablet-container - 0.01rem) { @content; }
2626
}
2727
@else if $breakpoint == no-desktop {
28-
@media only #{$media} and (max-width: calc(#{$breakpoints-desktop-container} - 0.01rem)) { @content; }
28+
@media only #{$media} and (max-width: $breakpoints-desktop-container - 0.01rem) { @content; }
2929
}
30-
}
30+
}

themes/helium/common/scss/helium/particles/_owlcarousel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
}
358358

359359
@include breakpoint(tablet-range) {
360-
width: (calc(#{$breakpoints-tablet-container} - 8rem));
360+
width: ($breakpoints-tablet-container - 8rem);
361361
}
362362

363363
@include breakpoint(large-mobile-range) {

0 commit comments

Comments
 (0)