From: AmirHossein Date: Thu, 1 Sep 2022 19:55:45 +0000 (+0430) Subject: flush variant of accordion border radius (#36593) X-Git-Tag: v5.2.1~14 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8c380b2676eb5eb76716b94763ef21e98c86b9b7;p=thirdparty%2Fbootstrap.git flush variant of accordion border radius (#36593) * 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 --- diff --git a/scss/_accordion.scss b/scss/_accordion.scss index a7fe074226..07e082f967 100644 --- a/scss/_accordion.scss +++ b/scss/_accordion.scss @@ -140,7 +140,10 @@ &:last-child { border-bottom: 0; } .accordion-button { - @include border-radius(0); + &, + &.collapsed { + @include border-radius(0); + } } } }