2 Commits
Author SHA1 Message Date
LeoVasanko 74de1481c0 Hide shortcut key on Android. 2025-09-25 05:03:19 +00:00
LeoVasanko 46119222e6 Shrink header by removing gaps on small screens. 2025-09-25 04:57:08 +00:00
2 changed files with 6 additions and 1 deletions

No files matched your search

+3
View File
@@ -211,6 +211,9 @@ onBeforeUnmount(() => {
gap: 1rem;
}
@media (max-width: 600px) {
.header-controls { gap: 0.1rem; }
}
/* Group search + spacer so outer gap doesn't create unwanted space */
.search-with-spacer {
display: flex;
+3 -1
View File
@@ -63,7 +63,9 @@ const searchIndex = ref(0)
const searchInputRef = ref(null)
let previewTimer = null
const shortcut = /Mac/.test(navigator.userAgent) ? '⌘F'
// Note: Android is also Linux. HarmonyOS 5 doesn't include "Linux".
const shortcut = /Android/.test(navigator.userAgent) ? ''
: /Mac/.test(navigator.userAgent) ? '⌘F'
: /Windows|Linux/.test(navigator.userAgent) ? 'Ctrl+F'
: ''