Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 7acca43

Browse files
jamspencerajoslin
authored andcommitted
fix(layout): add [flex-{sm,md,etc}] attr for 100% flex on screen size
Closes #706. Closes #707.
1 parent 12f2574 commit 7acca43

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/style/layout.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
$flexName: 'flex-#{$name}';
8282
}
8383

84+
[#{$flexName}] {
85+
flex: 0 0 100%;
86+
max-width: 100%;
87+
}
88+
8489
// (0-19) * 5 = 0-95%
8590
@for $i from 0 through 19 {
8691
[#{$flexName}="#{$i * 5}"] {

0 commit comments

Comments
 (0)