From a768b30dd5132351056287be88aa57587fb38d8e Mon Sep 17 00:00:00 2001 From: Florian Sorg Date: Sat, 25 Dec 2021 00:58:48 +0100 Subject: [PATCH] use default value 0 for fg-pixels background position --- assets/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/style.scss b/assets/style.scss index a15909b..739401b 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -80,7 +80,7 @@ body { pointer-events: none; background-image: url('layout/fg_pixels.gif'); background-repeat: repeat-y; - background-position: 50% calc(50% + -1.4px * var(--scrollTop)); + background-position: 50% calc(50% + -1.4px * var(--scrollTop, 0)); } @media (min-width: $small) {