From ccda2c463cbe063204df847dd86c3b8f6278515f Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Wed, 27 Jan 2016 11:52:51 +0100 Subject: [PATCH] fix grid --- src/scss/cdb-components/grid.scss | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/scss/cdb-components/grid.scss b/src/scss/cdb-components/grid.scss index 3ab688b..8618c03 100644 --- a/src/scss/cdb-components/grid.scss +++ b/src/scss/cdb-components/grid.scss @@ -6,12 +6,12 @@ ```
-
 
-
 
-
 
-
 
+
 
+
 
+
 
+
 
-
 
+
 
``` */ @@ -21,8 +21,14 @@ display: flex; } +.CDB-Width { + width: $baseSize; + flex: 0 0 $baseSize; + max-width: $baseSize; +} + @for $i from 1 through 180 { - .CDB-Col#{$baseSize * $i} { + .CDB-Width--#{$i} { width: $baseSize * $i; flex: 0 0 $baseSize * $i; max-width: $baseSize * $i;