]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix last element in a block grid floating right and not left
authorGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 21:43:26 +0000 (13:43 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 21:44:04 +0000 (13:44 -0800)
scss/grid/_layout.scss

index 104e6b52ea9f84bc3ffdc880a00d7bc19409d566..d2dd856d59227368b2f7b6a70ef50b84170ec263 100644 (file)
@@ -24,5 +24,9 @@
     &:nth-of-type(#{$n}n+1) {
       clear: both;
     }
+
+    &:last-child {
+      float: left;
+    }
   }
 }