From 67a837df21a9e8e9a2ff2198cd3fb23735c077b2 Mon Sep 17 00:00:00 2001 From: Tom Hodson Date: Thu, 23 Jun 2022 15:59:23 +0200 Subject: [PATCH] Try to prevent the side bar from wobbling --- _sass/header.scss | 2 +- _sass/main.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_sass/header.scss b/_sass/header.scss index 9ac9dac..e99b1ee 100644 --- a/_sass/header.scss +++ b/_sass/header.scss @@ -5,7 +5,7 @@ header { border-right: 2px solid #eee; //make a nice dividing line position: fixed; width: 240px; - height: 100%; + height: 100vw; padding-right: 30px; padding-left: 30px; diff --git a/_sass/main.scss b/_sass/main.scss index 4b257e3..88ff465 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -9,6 +9,10 @@ text-rendering: geometricPrecision; } +html { + width: 100vw; +} + body { background: #fcfcfc; color: #222;