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

ref: https://github.com/excalidraw/excalidraw/pull/1002/files#diff-6a2256f44598ec970b4bd034962e011eR376
This commit is contained in:
Sanghyeon Lee 2020-03-26 20:22:15 +09:00 committed by GitHub
parent 6fd2a3b2e5
commit d8708cb14f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}