fix: revert math.div SASS fallback

This commit is contained in:
Sam Potts
2021-09-29 22:07:42 +10:00
parent 5d1d247491
commit cf8e9341f2
6 changed files with 14 additions and 32 deletions
+3 -1
View File
@@ -2,6 +2,8 @@
// Mixins
// ==========================================================================
@use 'sass:math';
// Convert a <button> into an <a>
// ---------------------------------------
@mixin cancel-button-styles() {
@@ -32,7 +34,7 @@
// Leave <body> at 100%/16px
// ---------------------------------------
@function calculate-rem($size) {
$rem: div($size, 16);
$rem: math.div($size, 16);
@return #{$rem}rem;
}