Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d461a42ae5 | ||
|
|
ade17b80b1 |
@@ -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;
|
||||
|
||||
@@ -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'
|
||||
: ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user