From 5e73b0372df30f13e993c33dbd71d04cf8699ee0 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 4 May 2016 17:38:03 +0900 Subject: [PATCH] Make the drag box fill the remaining height of window --- default_app/index.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/default_app/index.html b/default_app/index.html index c10d67a089ac..a6126e5de6c7 100644 --- a/default_app/index.html +++ b/default_app/index.html @@ -10,10 +10,15 @@ font-variant: normal; padding: 0; margin: 0; + display: flex; + flex-direction: column; } .container { - padding: 15px 30px; + margin: 15px 30px 30px 30px; + flex: 1; + display: flex; + flex-direction: column; } .header { @@ -90,11 +95,9 @@ #holder { display: flex; + flex: 1; align-items: center; justify-content: center; - margin: 0 auto; - padding: 10px; - height: 275px; border: 1px solid #e0e5e6; background-color: #f6f8f8; color: #466a72; @@ -132,7 +135,7 @@ }; -
+
-
+