File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 13
13
* Fix a slight inaccuracy case when converting to ` srgb-linear ` and
14
14
` display-p3 ` .
15
15
16
+ * ** Potentially breaking bug fix:** ` math.unit() ` now wraps multiple denominator
17
+ units in parentheses. For example, ` px/(em*em) ` instead of ` px/em*em ` .
18
+
16
19
### JS API
17
20
18
21
* Fix ` SassColor.interpolate() ` to allow an undefined ` options ` parameter, as
Original file line number Diff line number Diff line change @@ -852,7 +852,8 @@ abstract class SassNumber extends Value {
852
852
([], [var denominator]) => "$denominator ^-1" ,
853
853
([], _) => "(${denominators .join ('*' )})^-1" ,
854
854
(_, []) => numerators.join ("*" ),
855
- _ => "${numerators .join ("*" )}/${denominators .join ("*" )}"
855
+ (_, [var denominator]) => "${numerators .join ("*" )}/$denominator " ,
856
+ _ => "${numerators .join ("*" )}/(${denominators .join ("*" )})" ,
856
857
};
857
858
858
859
bool operator == (Object other) {
You can’t perform that action at this time.
0 commit comments