+ {{ data?.length }} itemsClick items to open links • {{ data?.length }} items + + • {{ Math.round((canvasRef.zoom || 1) * 100) }}% + +
++ Hold Ctrl/⌘/Alt + scroll to zoom (40%-220%) +
+diff --git a/app/components/chat/CommandPalette.vue b/app/components/chat/CommandPalette.vue index 8419cc5..6b78859 100644 --- a/app/components/chat/CommandPalette.vue +++ b/app/components/chat/CommandPalette.vue @@ -45,10 +45,15 @@ defineShortcuts({ t: () => toggleDark({ clientX: window.innerWidth / 2, clientY: window.innerHeight }), }) +const isMobile = computed(() => { + if (!import.meta.client) + return false + return isMobileDevice(navigator.userAgent, window.innerWidth) +}) const activeElement = useActiveElement() watch(openMessageModal, async () => { await nextTick() - if (activeElement.value instanceof HTMLElement) { + if (activeElement.value instanceof HTMLElement && isMobile.value) { activeElement.value.blur() } }) diff --git a/app/error.vue b/app/error.vue index 5d4eca9..038036e 100644 --- a/app/error.vue +++ b/app/error.vue @@ -10,12 +10,12 @@ const { t } = useI18n()
{{ t('error.main') }}
-
+ {{ data?.length }} itemsClick items to open links • {{ data?.length }} items + + • {{ Math.round((canvasRef.zoom || 1) * 100) }}% + +
++ Hold Ctrl/⌘/Alt + scroll to zoom (40%-220%) +
+