diff options
| author | Mark Otto <[email protected]> | 2022-03-10 12:38:07 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2022-03-11 09:04:13 -0800 |
| commit | 63145c8bc6bb26f7651fbd6cfe626068704cdf76 (patch) | |
| tree | 35c1732f7cd07117fbb8b98b6f7af29be999736d /scss/_list-group.scss | |
| parent | 05c6e7dd66c10af8b2f8345b48c26de12f769335 (diff) | |
| download | bootstrap-63145c8bc6bb26f7651fbd6cfe626068704cdf76.tar.xz bootstrap-63145c8bc6bb26f7651fbd6cfe626068704cdf76.zip | |
Fix some instances of lazy Sass math when multiplying new CSS var based border-width
Diffstat (limited to 'scss/_list-group.scss')
| -rw-r--r-- | scss/_list-group.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 2c484ea23..70506c8c6 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -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; } } |
