From 54be52fcc5726918513aa75c3db7e37d642db7cc Mon Sep 17 00:00:00 2001 From: ShadyThGod Date: Thu, 21 Mar 2019 12:05:26 +0530 Subject: [PATCH] Update customCSS.css Fix sizing by making height dynamic --- src/windows/customCSS/css/customCSS.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/windows/customCSS/css/customCSS.css b/src/windows/customCSS/css/customCSS.css index e8111a05..47bf0d66 100644 --- a/src/windows/customCSS/css/customCSS.css +++ b/src/windows/customCSS/css/customCSS.css @@ -7,6 +7,14 @@ html { body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background: #212222 !important; + display: flex; + flex-direction: column; +} + +.main, +.container-after-titlebar { + display: flex; + flex-direction: column; } body { @@ -36,7 +44,7 @@ body { .cssarea { overflow-x: hidden; overflow-y: scroll; - height: 64.75vh; + flex-grow: 1; margin: 0 !important; }