Преглед изворни кода

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

ref: https://github.com/excalidraw/excalidraw/pull/1002/files#diff-6a2256f44598ec970b4bd034962e011eR376
Sanghyeon Lee пре 5 година
родитељ
комит
d8708cb14f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/styles.scss

+ 1 - 1
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;
   }
 }