Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

fix(navbar): 按 reviewer 反馈撤回设置/帮助图标改动,保留移除前进后退

X.Tech5c040e504afc
diff --git a/src/layout/components/navbar.tsx b/src/layout/components/navbar.tsx
index dd476d61..41e4440d 100644
--- a/src/layout/components/navbar.tsx
+++ b/src/layout/components/navbar.tsx
@@ -1,7 +1,5 @@
import type { RefObject } from 'react'
import {
- CircleQuestion,
- Gear,
LayoutSideContent,
LayoutSideContentLeft,
Minus,
@@ -241,26 +239,23 @@ export function Navbar({ iframeRef }: NavbarProps) {
</Button>
</If>
<If cond={!IS_MACOS}>
- <div className="ml-1 flex items-center gap-0.5">
+ <div className="ml-1">
<Button
- className="rounded-lg size-7"
- isIconOnly
+ className="rounded-lg h-6 text-xs px-1.5"
size="sm"
variant="ghost"
- aria-label={t('app.config')}
onPress={handleOpenConfig}
>
- <Gear />
+ {t('app.config')}
</Button>
<Dropdown>
<Button
- className="rounded-lg size-7"
- isIconOnly
+ className="rounded-lg h-6 text-xs px-1.5"
size="sm"
variant="ghost"
aria-label={t('app.help')}
>
- <CircleQuestion />
+ {t('app.help')}
</Button>
<Dropdown.Popover className="rounded-md w-5!">
<Dropdown.Menu>