]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix .end class not applying correctly after other changes were made to grid float...
authorGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 20:21:55 +0000 (12:21 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 20 Nov 2015 20:22:06 +0000 (12:22 -0800)
scss/grid/_position.scss

index b2b77e4f625965faeeb99ea8481df75f81831018..f7ed8b55f006da54c98d81ea49e95b6b550745c7 100644 (file)
 
 /// Disable the default behavior of the last column in a row aligning to the opposite edge.
 @mixin grid-column-end() {
-  float: $global-left;
+  // This extra specificity is required for the property to be applied
+  &:last-child {
+    float: $global-left;
+  }
 }
 
 /// Shorthand for `grid-column-position()`.