From a08038c9019ad028d04566fef25c1db4498a1862 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Thu, 1 Oct 2020 15:43:11 +0000 Subject: [PATCH] Fix: Corrected page not spaning all of the viewport height --- admin/includes/web-page.xsl | 16 ++++++++-------- web/assets/css/style.css | 13 ++++++++++++- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/admin/includes/web-page.xsl b/admin/includes/web-page.xsl index c1b608b7..9fc0e8e5 100644 --- a/admin/includes/web-page.xsl +++ b/admin/includes/web-page.xsl @@ -32,15 +32,15 @@ - -
- -
+ +
+ +
- - + + diff --git a/web/assets/css/style.css b/web/assets/css/style.css index 12694cf5..e7b6e51e 100644 --- a/web/assets/css/style.css +++ b/web/assets/css/style.css @@ -4,6 +4,18 @@ html, body { font-family: sans-serif; line-height: 1; -webkit-text-size-adjust:100%; -moz-text-size-adjust:100%; -ms-text-size-adjust:100%; + height: 100%; +} + +body { + display: flex; + flex-direction: column; + height: 100%; +} + +body > main { + width: 100%; + flex-grow: 1; } /* Main navigation styles */ @@ -228,7 +240,6 @@ section.box table.table-keys tr td:first-child { main { display: block; - overflow: hidden; clear: both; padding: 0 1.5em; /*background: #CAD5DB;*/