]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix flush accordion styles
authorMark Otto <markdotto@gmail.com>
Mon, 22 Mar 2021 20:01:08 +0000 (13:01 -0700)
committerMark Otto <otto@github.com>
Mon, 22 Mar 2021 20:56:06 +0000 (13:56 -0700)
scss/_accordion.scss

index 294d5229be76c7cdefdcd8630cdaf85da7708d91..ae1ca0fbb73564a6aa4c5528de8882f37ccbcae9 100644 (file)
   }
 
   .accordion-item {
+    border-right: 0;
+    border-left: 0;
     @include border-radius(0);
 
+    &:first-child { border-top: 0; }
+    &:last-child { border-bottom: 0; }
+
     .accordion-button {
-      border-right: 0;
-      border-left: 0;
       @include border-radius(0);
     }
   }