Skip to content

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

refactor(navbar): keep forward button grouped with back in nav condition

hairyf20f3a8e18c18
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx
index db1af295..2f84d43f 100644
--- a/src/components/navbar.tsx
+++ b/src/components/navbar.tsx
@@ -124,19 +124,18 @@ export default function Navbar({ iframeRef }: NavbarProps) {
>
<ArrowLeft />
</Button>
+ <Button
+ className="rounded-lg size-7"
+ isIconOnly
+ size="sm"
+ variant="ghost"
+ aria-label={t('nav.forward')}
+ isDisabled={!canGoForward}
+ onPress={() => { sendNav('page:next') }}
+ >
+ <ArrowRight />
+ </Button>
</If>
-
- <Button
- className="rounded-lg size-7"
- isIconOnly
- size="sm"
- variant="ghost"
- aria-label={t('nav.forward')}
- isDisabled={!canGoForward}
- onPress={() => { sendNav('page:next') }}
- >
- <ArrowRight />
- </Button>
<div className="ml-1">
<DebugSidebar>
<Button