diff --git a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte index ef6c603ae5..5e5c348b14 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatInput.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatInput.svelte @@ -1508,7 +1508,8 @@ {onKeyDown} className={twMerge( oneLine ? '!pl-4 !pr-2 !py-3' : toolbarInBox ? FIELD_PADDING_WITH_TOOLBAR : '', - chatIcon && '!pl-2' + // A set line height, not the font's own: the chat icon is placed against it. + chatIcon && '!pl-2 !leading-5' )} > {#snippet leading()} diff --git a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte index 00607c5fd2..9deeb365ea 100644 --- a/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte +++ b/frontend/src/lib/components/copilot/chat/ContextTextarea.svelte @@ -813,10 +813,14 @@ self-guards (renders nothing when empty) so no blank row appears. --> {@render leading?.()} {#if chatIcon} - -