From b62b21df15f0ad6c74ddd8a1a242da295e99c9b9 Mon Sep 17 00:00:00 2001 From: Florian Sorg Date: Thu, 23 Dec 2021 23:08:42 +0100 Subject: [PATCH] add default value for --scrollTop --- assets/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/style.scss b/assets/style.scss index 45f9c8e..c660a04 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -43,7 +43,7 @@ body { no-repeat, no-repeat; background-position: - 50% calc(50% + 1px * 0.5 * var(--scrollTop)), + 50% calc(50% + 1px * 0.5 * var(--scrollTop, 0)), 50% 50%, 50% 50%, 50% 50%;