0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,8 @@
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;
&.active {