]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
On accordions, remove double border at the bottom, and prevent a border from disappea...
authorGeoff Kimball <geoff@zurb.com>
Thu, 21 Jan 2016 17:35:24 +0000 (09:35 -0800)
committerGeoff Kimball <geoff@zurb.com>
Thu, 21 Jan 2016 17:35:24 +0000 (09:35 -0800)
scss/components/_accordion.scss

index 044a0b6b36e4e0f335f2664ce85a1bb1464607c2..1fb1ebee38096a4d5c46c7503276dc8615d6d58b 100644 (file)
@@ -47,6 +47,7 @@ $accordion-content-padding: 1rem !default;
   list-style-type: none;
   background: $accordion-background;
   border: $accordion-content-border;
+  border-bottom: 0;
   border-radius: $global-radius;
   margin-#{$global-left}: 0;
 }
@@ -66,11 +67,6 @@ $accordion-content-padding: 1rem !default;
     background-color: $accordion-item-background-hover;
   }
 
-  // Remove the border on the last title
-  :last-child > & {
-    border-bottom-width: 0;
-  }
-
   @if $accordion-plusminus {
     &::before {
       content: '+';