1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-03 02:13:01 +02:00

Fix some instances of lazy Sass math when multiplying new CSS var based border-width

This commit is contained in:
Mark Otto
2022-03-10 12:38:07 -08:00
committed by Mark Otto
parent 05c6e7dd66
commit 63145c8bc6
3 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@
border-top-width: 0;
&.active {
margin-top: -$list-group-border-width;
margin-top: calc($list-group-border-width * -1); // stylelint-disable-line function-disallowed-list
border-top-width: $list-group-border-width;
}
}
@@ -125,7 +125,7 @@
border-left-width: 0;
&.active {
margin-left: -$list-group-border-width;
margin-left: calc($list-group-border-width * -1); // stylelint-disable-line function-disallowed-list
border-left-width: $list-group-border-width;
}
}