1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 21:22:52 +02:00

fix #36662 List-group-item margin-top is offset when importing sass in a nested class (#36663)

* fix #36662 & + .list-group-item

* Ignore linter

Co-authored-by: Mark Otto <otto@github.com>
This commit is contained in:
Hadouin
2022-08-03 20:27:51 +02:00
committed by GitHub
parent 4018fac20e
commit 8730ef0f8e

View File

@@ -104,7 +104,8 @@
border-color: var(--#{$prefix}list-group-active-border-color); border-color: var(--#{$prefix}list-group-active-border-color);
} }
& + & { // stylelint-disable-next-line scss/selector-no-redundant-nesting-selector
& + .list-group-item {
border-top-width: 0; border-top-width: 0;
&.active { &.active {