]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
flush variant of accordion border radius (#36593)
authorAmirHossein <farajiamirhossein1374@gmail.com>
Thu, 1 Sep 2022 19:55:45 +0000 (00:25 +0430)
committerGitHub <noreply@github.com>
Thu, 1 Sep 2022 19:55:45 +0000 (12:55 -0700)
* 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>
scss/_accordion.scss

index a7fe0742269f9dbbe1e2a614ba9c485293b471f1..07e082f967ba69082527de37cc47cf537bab3826 100644 (file)
     &:last-child { border-bottom: 0; }
 
     .accordion-button {
-      @include border-radius(0);
+      &,
+      &.collapsed {
+        @include border-radius(0);
+      }
     }
   }
 }