From 981f2b9ad5f8057e2e6468e0d83ed8e30bfcdcd3 Mon Sep 17 00:00:00 2001 From: jamspencer Date: Thu, 20 Nov 2014 14:04:54 +0000 Subject: [PATCH] Adds ability to override [flex] attributes under different media queries as described in #706 --- src/core/style/layout.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/style/layout.scss b/src/core/style/layout.scss index 920a9b05f30..eed78659162 100644 --- a/src/core/style/layout.scss +++ b/src/core/style/layout.scss @@ -69,6 +69,11 @@ $offsetName: 'offset-#{$name}'; } + [#{$flexName}] { + flex: 0 0 100%; + max-width: 100%; + } + // (0-19) * 5 = 0-95% @for $i from 0 through 19 { [#{$flexName}="#{$i * 5}"] {