ux: menu-button easier to tap on mobile
Massimo Melina committed
Jul 3, 2023 at 18:02 UTC
da813ed8a10428b4c9be858a6e0fa05beda6395f
1 file changed
+6
-2
frontend/src/index.scss
+6
-2
@@ -631,7 +631,6 @@ button label {
631
}
632
#root>.tiles-mode {
633
margin: 0;
634
- .file-menu-button { font-size: 1em; margin-top: 0.3em; } // easier to tap
634
}
635
}
636
@@ -651,4 +650,9 @@ button label {
650
}
651
}
652
}
654
-}
\ No newline at end of file
653
+}
654
+
655
+// mobile, landscape or portrait
656
+@media (max-width: 42em), (max-height: 600px) {
657
+ #root>.tiles-mode .file-menu-button { font-size: 1em; margin-top: 0.3em; } // easier to tap
658
+}