From 029f2a40a09ca78d6be2163609ee80022b8be7fb Mon Sep 17 00:00:00 2001 From: Thomasorus Date: Wed, 12 May 2021 20:31:46 +0200 Subject: [PATCH] Turned header into a fixed element, main takes 100vh --- html/assets/css/composition.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/assets/css/composition.css b/html/assets/css/composition.css index 2f881d2..af102dc 100644 --- a/html/assets/css/composition.css +++ b/html/assets/css/composition.css @@ -1,12 +1,14 @@ header { + position: fixed; display: flex; justify-content: space-between; align-items: center; - height: 5vh; + height: auto; + width: 100%; } main { - height: 95vh; + height: 100vh; display: grid; place-items: center; }