Skip to content

Commit 45c3684

Browse files
committed
fix: abs() deprecation warning
1 parent 206dd4d commit 45c3684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scss/mixins/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
@mixin row-cols($count) {
5757
> * {
5858
flex: 0 0 auto;
59-
width: divide(100%, $count);
59+
width: percentage(divide(1, $count));
6060
}
6161
}
6262

scss/mixins/_list-group.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@mixin list-group-item-variant($state, $variant) {
77
$background: map-get($variant, "bg");
88
$background-hover: map-get($variant, "bg-hover");
9-
$color: contrast-ratio-correction(map-get($variant, "color"), map-get($variant, "bg"), abs($alert-color-scale), $state);
9+
$color: contrast-ratio-correction(map-get($variant, "color"), map-get($variant, "bg"), $alert-color-scale, $state);
1010

1111
--#{$prefix}list-group-color: #{$color};
1212
--#{$prefix}list-group-bg: #{$background};

0 commit comments

Comments
 (0)