vendor/assets/scss/grid/_position.scss in foundation-rails-6.2.1.0 vs vendor/assets/scss/grid/_position.scss in foundation-rails-6.2.3.0
- old
+ new
@@ -6,10 +6,10 @@
/// @group grid
////
/// Reposition a column.
///
-/// @param {Number} $position - Direction and amount to move. The column will move equal to the width of the column count specified. A positive number will push the column to the right, while a negative number will pull it to the left.
+/// @param {Number|Keyword} $position - Direction and amount to move. The column will move equal to the width of the column count specified. A positive number will push the column to the right, while a negative number will pull it to the left. Set to center to center the column.
@mixin grid-column-position($position) {
@if type-of($position) == 'number' {
$offset: percentage($position / $grid-column-count);
position: relative;