add .stretch for equally stretched child elements

This commit is contained in:
Felix Niklas 2014-07-07 12:29:58 +02:00
parent b5f3d35a94
commit 436340aece

View file

@ -38,6 +38,15 @@
flex-direction: column-reverse;
}
.vertical.stretch > *,
.horizontal.stretch > * {
-webkit-box-flex: 1;
-ms-flex: 1;
-moz-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.fullHeight {
min-height: 100%;
}
@ -106,7 +115,6 @@ body.fit {
flex: 3;
}
.justify-start {
-webkit-box-pack: start;
-ms-flex-pack: start;