From 71ab29ae98d686b83ac02d04c850b0b4a1967706 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Tue, 29 Nov 2022 13:37:36 +0300 Subject: [PATCH] Trying to fix background image bouncing issue on mobile --- themes/swr/assets/css/style.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/swr/assets/css/style.scss b/themes/swr/assets/css/style.scss index f472112..280bcac 100644 --- a/themes/swr/assets/css/style.scss +++ b/themes/swr/assets/css/style.scss @@ -1,3 +1,7 @@ +html { + height: 100%; +} + body { font: 14px/1.5 monospace; background-color: #24202b; @@ -8,7 +12,7 @@ body { background-attachment: fixed; background-image: linear-gradient( rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7) ),url('../background.jpg'); backdrop-filter: blur(5px); - min-height: 100vh; + min-height: 100%; } #container {