Skip to content

Commit

Permalink
Merge accordion selectors for border-radius rule (#39697)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <juderamond@gmail.com>
  • Loading branch information
ZuBB and julien-deramond committed Feb 22, 2024
1 parent fa9c12a commit 4a7ff94
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions scss/_accordion.scss
Expand Up @@ -134,17 +134,12 @@
&:last-child { border-bottom: 0; }

// stylelint-disable selector-max-class
> .accordion-header .accordion-button {
&,
&.collapsed {
@include border-radius(0);
}
}
// stylelint-enable selector-max-class

> .accordion-collapse {
> .accordion-collapse,
> .accordion-header .accordion-button,
> .accordion-header .accordion-button.collapsed {
@include border-radius(0);
}
// stylelint-enable selector-max-class
}
}

Expand Down

0 comments on commit 4a7ff94

Please sign in to comment.