Add option for grid modifier classes

This commit is contained in:
Ines Montani 2016-11-03 22:06:09 +01:00
parent 55e791dff9
commit 7d0a1d9c67

View File

@ -190,9 +190,11 @@ mixin cell()
//- Grid Container
...style - all arguments are added as class names o-grid--argument
see assets/css/_base/_grid.sass
mixin grid()
.o-grid.o-block&attributes(attributes)
mixin grid(...style)
.o-grid.o-block(class=prefixArgs(style, "o-grid"))&attributes(attributes)
block