From 8a7d4541e55296875a4d6982db1c5a54d18a489c Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Wed, 20 Jan 2021 17:44:47 +0100 Subject: [PATCH] Fix chrome scrolling issue --- src/page/background/background.scss | 6 ++++++ src/page/timeline/timeline-element/timeline-element.scss | 1 + 2 files changed, 7 insertions(+) diff --git a/src/page/background/background.scss b/src/page/background/background.scss index 82105be..176b94c 100644 --- a/src/page/background/background.scss +++ b/src/page/background/background.scss @@ -1,6 +1,12 @@ @use '../../style/mixins' as *; @use '../../style/dark-mode/dark-mode' as *; +#background { + // chrome scrolling does not work on PC without these two + z-index: 0; + position: absolute; +} + .blob { position: absolute; left: 0; diff --git a/src/page/timeline/timeline-element/timeline-element.scss b/src/page/timeline/timeline-element/timeline-element.scss index 0599f2c..b86f13c 100644 --- a/src/page/timeline/timeline-element/timeline-element.scss +++ b/src/page/timeline/timeline-element/timeline-element.scss @@ -23,6 +23,7 @@ .line-container { position: relative; + z-index: 2; @include q-dependent-line-container(33%); .line {