]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: use correct selector, fixes #11447 11450/head
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Tue, 14 Aug 2018 07:57:08 +0000 (09:57 +0200)
committerDaniel Ruf <daniel.ruf@ueberbit.de>
Tue, 14 Aug 2018 07:59:22 +0000 (09:59 +0200)
scss/components/_accordion.scss

index d35bac4dd517327f73534b774df3029080b1666b..b7c0c58a58d7dbdb9b8025d76fcaa74b4c6c7cb2 100644 (file)
@@ -99,11 +99,9 @@ $accordion-content-padding: 1rem !default;
   line-height: 1;
   color: $color;
 
-  :last-child {
-    &:not(.is-active) > & {
-      border-bottom: $border;
-      border-radius: 0 0 $global-radius $global-radius;
-    }
+  :last-child:not(.is-active) > & {
+    border-bottom: $border;
+    border-radius: 0 0 $global-radius $global-radius;
   }
 
   &:hover,