Fixed sass deprecation warnings

See <https://sass-lang.com/documentation/breaking-changes/slash-div>.
[#179260511]
This commit is contained in:
Steve Gravrock
2021-09-03 15:51:51 -07:00
parent 62a667a8e3
commit 394be99832

View File

@@ -1,3 +1,5 @@
@use "sass:math";
$line-height: 14px; $line-height: 14px;
$margin-unit: 14px; $margin-unit: 14px;
@@ -117,7 +119,7 @@ body {
li { li {
display: inline-block; display: inline-block;
height: ($line-height / 2) + 3; height: math.div($line-height, 2) + 3;
width: $line-height; width: $line-height;
font-size: 16px; font-size: 16px;
@@ -132,7 +134,7 @@ body {
} }
&.jasmine-failed { &.jasmine-failed {
line-height: ($line-height / 2) + 2; line-height: math.div($line-height, 2) + 2;
&:before { &:before {
color: $failing-color; color: $failing-color;
@@ -282,8 +284,8 @@ body {
padding-left: 0; padding-left: 0;
&.jasmine-suite { &.jasmine-suite {
margin-top: $margin-unit/2; margin-top: math.div($margin-unit, 2);
margin-bottom: $margin-unit/2 margin-bottom: math.div($margin-unit, 2)
} }
} }