Skip to content

Commit b07b6f7

Browse files
ysdsXhmikosR
authored andcommitted
Fix dart Sass compatibility for subtract (#29763)
1 parent 0d148d8 commit b07b6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/_functions.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,5 @@
130130
@return $value1 - $value2;
131131
}
132132

133-
@return if($return-calc == true, calc(#{$value1} - #{$value2}), #{$value1} - #{$value2});
133+
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
134134
}

0 commit comments

Comments
 (0)