From d8708cb14f3bf0484b1b4f73e0befebcc7cd2c3d Mon Sep 17 00:00:00 2001 From: Sanghyeon Lee Date: Thu, 26 Mar 2020 20:22:15 +0900 Subject: [PATCH] Apply scroll-back-to-content's z-index only for mobile (#1086) ref: https://github.com/excalidraw/excalidraw/pull/1002/files#diff-6a2256f44598ec970b4bd034962e011eR376 --- src/styles.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles.scss b/src/styles.scss index 0b58f3e3..ec9b38c9 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -374,7 +374,6 @@ button, bottom: 30px; transform: translateX(-50%); padding: 10px 20px; - z-index: -1; } @media #{$media-query} { @@ -384,5 +383,6 @@ button, .scroll-back-to-content { bottom: 80px; bottom: calc(80px + var(--sab)); + z-index: -1; } }