Skip to content

Commit

Permalink
flush variant of accordion border radius (#36593)
Browse files Browse the repository at this point in the history
* flush variant of accordion border radius

Fixed issues regarding to last accordion-item has rounded edges at the bottom left and right corners when focused and are in closed state

* Update _accordion.scss

Co-authored-by: Mark Otto <otto@github.com>
  • Loading branch information
amirhosseinfaraji and mdo committed Sep 1, 2022
1 parent 2793637 commit 8c380b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/_accordion.scss
Expand Up @@ -140,7 +140,10 @@
&:last-child { border-bottom: 0; }

.accordion-button {
@include border-radius(0);
&,
&.collapsed {
@include border-radius(0);
}
}
}
}

0 comments on commit 8c380b2

Please sign in to comment.