From 4bb2e9c2f2cfe2f8b01d49e5cd8373cfac7543f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 14 Feb 2018 09:51:15 +0100 Subject: [PATCH] Make frontend scale nicely regardless of window size --- src/app/app.component.scss | 4 ++-- src/app/webide/webide.component.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/app.component.scss b/src/app/app.component.scss index dfd52a4..3db3706 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1,3 +1,3 @@ -.tfw-first-row { - height: 300px; +.first-row { + height: 40vh; } diff --git a/src/app/webide/webide.component.scss b/src/app/webide/webide.component.scss index 63c93ea..27914f7 100644 --- a/src/app/webide/webide.component.scss +++ b/src/app/webide/webide.component.scss @@ -1,5 +1,5 @@ .tfw-ace-editor { - min-height: 200px; + height: 80%; width:100%; overflow: auto; }