Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Apply scroll-back-to-content's z-index only for mobile (#1086)

Sanghyeon Leed8708cb14f3b
diff --git a/src/styles.scss b/src/styles.scss
index 0b58f3e3e1..ec9b38c939 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;
}
}