replace deprecated slash division with math division in Sass
Change-Id: I664c367e06eb166f74197ac50ef90dc24a7b5ef9
diff --git a/dev/scss/main/view/matchtable.scss b/dev/scss/main/view/matchtable.scss
index 6239c61..ef01955 100644
--- a/dev/scss/main/view/matchtable.scss
+++ b/dev/scss/main/view/matchtable.scss
@@ -1,3 +1,4 @@
+@use 'sass:math';
@import "../../util";
/**
@@ -10,7 +11,7 @@
> div {
z-index: 20;
- margin-left: $left-distance - ($border-size / 2);
+ margin-left: $left-distance - math.div($border-size,2);
margin-right: $right-view-distance;
padding: 0;
overflow-x: auto;
@@ -86,13 +87,13 @@
}
> th:nth-of-type(2) {
- left: ($left-width / 2) + $border-size;
+ left: math.div($left-width,2) + $border-size;
}
// Includes header line as well
> * {
@include cell-info;
- border: ($border-size / 2) solid $dark-orange;
+ border: math.div($border-size,2) solid $dark-orange;
}
> td {