From: Nicolas Coden Date: Sat, 31 Mar 2018 21:43:08 +0000 (+0200) Subject: fix: fix last column uncentering with edge align disabled in Float Grid X-Git-Tag: v6.6.0~3^2~245^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11115%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix: fix last column uncentering with edge align disabled in Float Grid Ensure to uncenter the last column with the right specificity even when `$grid-column-align-edge` is disabled. --- diff --git a/scss/grid/_position.scss b/scss/grid/_position.scss index 945596502..24b49dde5 100644 --- a/scss/grid/_position.scss +++ b/scss/grid/_position.scss @@ -17,8 +17,10 @@ @mixin grid-column-position($position) { // Auto positioning @if $position == auto { - float: $global-left; - clear: none; + &, &:last-child:not(:first-child) { + float: $global-left; + clear: none; + } // Last column alignment @if $grid-column-align-edge {