]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
add specificity to centered columns to override :last-child
authorAndy Cochran <acochran@council.nyc.gov>
Fri, 1 Jul 2016 18:13:28 +0000 (14:13 -0400)
committerAndy Cochran <acochran@council.nyc.gov>
Fri, 1 Jul 2016 18:13:28 +0000 (14:13 -0400)
scss/grid/_position.scss

index 4d1bea5d483e31ec52b5dbe39eea3ccbd39e596a..886d20b7f34316fbdb9e605725a9c1a30b0848cf 100644 (file)
@@ -17,7 +17,9 @@
     #{$global-left}: $offset;
   }
   @else if $position == center {
-    float: none;
+    &, &:last-child:not(:first-child) {
+      float: none;
+    }
     margin-left: auto;
     margin-right: auto;
   }