From d07fac940f9cca9efe89a91f0c2a44143e0c3362 Mon Sep 17 00:00:00 2001 From: Xubin Ren <52506698+Re-bin@users.noreply.github.com> Date: Sun, 4 Oct 2026 00:17:06 +0800 Subject: [PATCH] fix(webui): reserve navigation space above short-screen composers --- docs/webui.md | 4 +++- webui/src/components/workbench/PaneWorkbench.tsx | 4 ++-- webui/src/globals.css | 11 +++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/webui.md b/docs/webui.md index 4dc683bd9..488a415d7 100644 --- a/docs/webui.md +++ b/docs/webui.md @@ -190,7 +190,9 @@ does not proxy pages or bypass those restrictions; use **Open in browser** inste On touch devices with Visual Viewport support, the app follows the visible area when the on-screen keyboard opens or pans the page. Navigation and the composer -stay in view while messages scroll independently. Pinch zoom keeps the existing +stay in view while messages scroll independently. In very short viewports (such +as landscape with the keyboard open), scroll within the composer to reach its +controls. Pinch zoom keeps the existing layout instead of resizing it to the magnified area; normal fitting resumes when you return to the default zoom. Desktop and native-host layout remain unchanged. diff --git a/webui/src/components/workbench/PaneWorkbench.tsx b/webui/src/components/workbench/PaneWorkbench.tsx index 106d6292a..7c57ad269 100644 --- a/webui/src/components/workbench/PaneWorkbench.tsx +++ b/webui/src/components/workbench/PaneWorkbench.tsx @@ -700,7 +700,7 @@ export function PaneWorkbench({ /> ) : null} -
+
{chrome ? ( -