From 7d0a1d9c676e244c1551315e195e8a087e5adc76 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 3 Nov 2016 22:06:09 +0100 Subject: [PATCH] Add option for grid modifier classes --- website/_includes/_mixins.jade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 50aaa6c92..416eb3966 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -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