From d25b3f0785d050874d3d411235bcc422a7d46674 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Thu, 26 Feb 2026 16:57:29 +0800 Subject: [PATCH] fix: use flex layout in voice mode to prevent page scroll competing with xterm --- dashboard/frontend/src/routes/Terminal.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard/frontend/src/routes/Terminal.svelte b/dashboard/frontend/src/routes/Terminal.svelte index e86ec39..03c92ea 100644 --- a/dashboard/frontend/src/routes/Terminal.svelte +++ b/dashboard/frontend/src/routes/Terminal.svelte @@ -100,7 +100,7 @@ onDestroy(() => tabData.forEach((d) => { d.voice?.destroy(); d.ro?.disconnect(); d.ws?.close(); d.term?.dispose(); })); -
+
{#if !activeVoice()?.voiceMode}

Terminal

{/if} @@ -166,18 +166,18 @@ {/if} {#each tabs as tab (tab.id)} -
+
{/each} {#if activeVoice()?.voiceMode} {@const v = activeVoice()} -
+
Voice Mode