Add a boolean argument to the pull mixin that indicates wether you are pulling past the last column.
This commit is contained in:
parent
975f06daa1
commit
95579a8e6b
@ -61,9 +61,12 @@
|
|||||||
:padding-left = (!layout_grid_outer_width) * !n
|
:padding-left = (!layout_grid_outer_width) * !n
|
||||||
|
|
||||||
// mixin to a column to move it n columns to the left
|
// mixin to a column to move it n columns to the left
|
||||||
=pull(!n)
|
=pull(!n, !last = false)
|
||||||
:float left
|
:float left
|
||||||
:position relative
|
:position relative
|
||||||
|
@if !last
|
||||||
|
:margin-left = (-!layout_grid_outer_width * !n) + !layout_grid_margin
|
||||||
|
@if !!last
|
||||||
:margin-left = -!layout_grid_outer_width * !n
|
:margin-left = -!layout_grid_outer_width * !n
|
||||||
|
|
||||||
// mixin to a column to push it n columns to the right
|
// mixin to a column to push it n columns to the right
|
||||||
|
Loading…
Reference in New Issue
Block a user