From 436340aecec6e06ae845f44caca80264b9ebbfce Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 7 Jul 2014 12:29:58 +0200 Subject: [PATCH] add .stretch for equally stretched child elements --- app/assets/stylesheets/layout.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/layout.css b/app/assets/stylesheets/layout.css index a82278bde..09d71997f 100755 --- a/app/assets/stylesheets/layout.css +++ b/app/assets/stylesheets/layout.css @@ -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;