]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
fixed dart sass compatibility in typography
authorJoe Workman <joe@workmanmail.com>
Tue, 22 Mar 2022 17:53:53 +0000 (10:53 -0700)
committerJoe Workman <joe@workmanmail.com>
Tue, 22 Mar 2022 17:53:53 +0000 (10:53 -0700)
scss/components/_typography.scss

index 1470a2be1d514834137908767a54dd629c89aa75..cc57a178ba0965bd8706e141b538ee0da309d4e8 100755 (executable)
@@ -1,6 +1,7 @@
 // Foundation for Emails by ZURB
 // zurb.com/ink/
 // Licensed under MIT Open Source
+@use "sass:math";
 
 ////
 /// @group typography
@@ -302,11 +303,11 @@ p {
 }
 
 .text-xs {
-  font-size: $global-font-size / ($font-scale * $font-scale);
+  font-size: math.div($global-font-size, $font-scale * $font-scale);
 }
 
 .text-sm {
-  font-size: $global-font-size / $font-scale;
+  font-size: math.div($global-font-size, $font-scale);
 }
 
 .text-lg {