diff --git a/desktop/src/components/layout/AppShell.tsx b/desktop/src/components/layout/AppShell.tsx index 642806be..6556da51 100644 --- a/desktop/src/components/layout/AppShell.tsx +++ b/desktop/src/components/layout/AppShell.tsx @@ -6,7 +6,6 @@ import { useSettingsStore } from '../../stores/settingsStore' import { useKeyboardShortcuts } from '../../hooks/useKeyboardShortcuts' import { initializeDesktopServerUrl } from '../../lib/desktopRuntime' import { TabBar } from './TabBar' -import { StatusBar } from './StatusBar' import { useTabStore } from '../../stores/tabStore' import { useChatStore } from '../../stores/chatStore' @@ -101,10 +100,9 @@ export function AppShell() { /> )} -
+
-
diff --git a/desktop/src/components/layout/TabBar.tsx b/desktop/src/components/layout/TabBar.tsx index 3d3d0371..66363b6b 100644 --- a/desktop/src/components/layout/TabBar.tsx +++ b/desktop/src/components/layout/TabBar.tsx @@ -4,6 +4,7 @@ import { useChatStore } from '../../stores/chatStore' import { useTranslation } from '../../i18n' const TAB_WIDTH = 180 +const isTauri = typeof window !== 'undefined' && ('__TAURI_INTERNALS__' in window || '__TAURI__' in window) export function TabBar() { const tabs = useTabStore((s) => s.tabs) @@ -96,10 +97,13 @@ export function TabBar() { } } - if (tabs.length === 0) return null + if (tabs.length === 0) { + // Still need drag region space in Tauri even with no tabs + return isTauri ?
: null + } return ( -
+
{canScrollLeft && (