vendor/assets/scss/grid/_position.scss in foundation-rails-6.2.3.0 vs vendor/assets/scss/grid/_position.scss in foundation-rails-6.2.4.0
- old
+ new
@@ -15,10 +15,13 @@
position: relative;
#{$global-left}: $offset;
}
@else if $position == center {
- float: none;
+ &, &:last-child:not(:first-child) {
+ float: none;
+ clear: both;
+ }
margin-left: auto;
margin-right: auto;
}
@else {
@warn 'Wrong syntax for grid-column-position(). Enter a positive or negative number, or center.';