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:
parent
6fd2a3b2e5
commit
d8708cb14f
@ -374,7 +374,6 @@ button,
|
|||||||
bottom: 30px;
|
bottom: 30px;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media #{$media-query} {
|
@media #{$media-query} {
|
||||||
@ -384,5 +383,6 @@ button,
|
|||||||
.scroll-back-to-content {
|
.scroll-back-to-content {
|
||||||
bottom: 80px;
|
bottom: 80px;
|
||||||
bottom: calc(80px + var(--sab));
|
bottom: calc(80px + var(--sab));
|
||||||
|
z-index: -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user