Skip to content

Commit

Permalink
Adds ability to override [flex] attributes under different media quer…
Browse files Browse the repository at this point in the history
…ies as described in angular#706
  • Loading branch information
jamspencer committed Nov 20, 2014
1 parent 117772b commit 981f2b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/style/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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}"] {
Expand Down

0 comments on commit 981f2b9

Please sign in to comment.