Skip to content

Commit

Permalink
fix #36662 List-group-item margin-top is offset when importing sass i…
Browse files Browse the repository at this point in the history
…n a nested class (#36663)

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

* Ignore linter

Co-authored-by: Mark Otto <otto@github.com>
  • Loading branch information
hadouin and mdo authored Aug 3, 2022
1 parent 4018fac commit 8730ef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scss/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8730ef0

Please sign in to comment.