Skip to content

Commit

Permalink
Merge pull request #3145 from hoxu/libsass-compat
Browse files Browse the repository at this point in the history
Replace math.div(..., 2) with ... * 0.5
  • Loading branch information
martijnrusschen authored Aug 19, 2021
2 parents d2720ba + d0093db commit 3ed55a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/stylesheets/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "sass:math";

%navigation-chevron {
border-color: $datepicker__muted-color;
border-style: solid;
Expand All @@ -19,7 +17,7 @@
}

%triangle-arrow {
margin-left: math.div(-$datepicker__triangle-size, 2);
margin-left: -$datepicker__triangle-size * 0.5;
position: absolute;
width: 0;

Expand Down

0 comments on commit 3ed55a9

Please sign in to comment.