Allow other style arguments on +grid-col

This commit is contained in:
ines 2017-10-30 13:15:30 +01:00
parent 08869c19fd
commit 25f6331550
2 changed files with 5 additions and 2 deletions

View File

@ -448,8 +448,8 @@ mixin grid(...style)
width - [string] "quarter", "third", "half", "two-thirds", "three-quarters"
see $grid in assets/css/_variables.sass
mixin grid-col(width)
.o-grid__col(class="o-grid__col--#{width}")&attributes(attributes)
mixin grid-col(...style)
.o-grid__col(class=prefixArgs(style, "o-grid__col"))&attributes(attributes)
block

View File

@ -48,6 +48,9 @@
flex: 0 0 100%
flex-flow: column wrap
&.o-grid__col--no-gutter
margin-top: 0
// Fix overflow issue in old browsers
& > *