From b0e89472fef7be216354969cf82e8a6cc6b4cdf5 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 29 Apr 2026 13:27:45 +0200 Subject: [PATCH] feat: tighten chat box (bg-surface-input, single-line input, padding) - Switch the chat input card background to bg-surface-input so the input area visually separates from surrounding surfaces. - Convert the @ context-picker trigger to {/snippet} {#snippet content({ close })} {#if aiChatManager.mode === AIMode.APP} diff --git a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte index eabeacc25f..2152d0ac17 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte @@ -444,7 +444,7 @@ sendRequest() } }} - rows={2} + rows={1} placeholder={modePlaceholder} class="resize-none" {disabled} @@ -490,7 +490,7 @@ sendRequest() } }} - rows={2} + rows={1} placeholder={modePlaceholder} class="resize-none" {disabled} diff --git a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte index 14e54deea9..6886575415 100644 --- a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte +++ b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte @@ -315,7 +315,7 @@ onkeydown={handleKeyDown} bind:value use:autosize - rows={2} + rows={1} oninput={handleInput} onblur={() => { setTimeout(() => { @@ -372,7 +372,9 @@