mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-25 07:04:47 +03:00
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:
1 parent
6fd2a3b2e5
commit
d8708cb14f
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user