Skip to content

Commit

Permalink
fix: fix uncenter for last column in Float Grid foundation#9952
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoden committed Mar 31, 2018
1 parent 78bda61 commit 50e7dab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scss/grid/_position.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@
/// Reset a position definition.
@mixin grid-column-unposition {
position: static;
float: $global-left;
margin-right: 0;
margin-left: 0;

float: $global-left;
@if $grid-column-align-edge {
&:last-child:not(:first-child) {
float: $global-right;
}
}
}

/// Offsets a column to the right by `$n` columns.
Expand Down

0 comments on commit 50e7dab

Please sign in to comment.