Skip to content

Commit

Permalink
Fixed 'using / for division' deprecation warning in Sass
Browse files Browse the repository at this point in the history
  • Loading branch information
admilne committed Jan 24, 2025
1 parent c3aa88e commit 44d6f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/helpers/_mq.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
/// @return {Number} - Unitless number
@function strip-unit($number) {
@if meta.type-of($number) == 'number' and not math.is-unitless($number) {
@return $number / ($number * 0 + 1);
@return math.div($number, ($number * 0 + 1));
}

@return $number;
Expand Down

0 comments on commit 44d6f5a

Please sign in to comment.