From 9e0bb38595e75b9f485fcf5bdc10cd7b151a88a8 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Fri, 9 Oct 2026 10:13:45 +0200 Subject: [PATCH] fix: drop the stray indent on the session composer's rotating placeholder --- .../copilot/chat/ContextTextarea.svelte | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte index 63f80810fc..91573f558a 100644 --- a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte +++ b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte @@ -78,6 +78,10 @@ const aiChatManager = getAiChatManager() + const placeholderClass = $derived( + `text-hint ${PLACEHOLDER_FADE_CLASS} ${fadingPlaceholder?.visible ? 'opacity-100' : 'opacity-0'}` + ) + // Titles currently appearing as `@title` mentions in the textarea. Compared // against the previous snapshot in a $effect (NOT inside handleInput — // the picker mutates `value` programmatically via `updateInstructionsWithContext`, @@ -809,17 +813,13 @@ )} >
- - {@html getHighlightedText(value)} - + {#if fadingPlaceholder && !value} -