From c649ae56283c9e6cbd89ecd5eec9641a4d48a082 Mon Sep 17 00:00:00 2001 From: yoyoyohamapi <8338436+yoyoyohamapi@users.noreply.github.com> Date: Tue, 27 May 2025 09:04:33 +0000 Subject: [PATCH] fix(core): ai chat button align (#12555) > CLOSE AI-134 ## Summary by CodeRabbit - **Style** - Improved alignment and layout of the chat panel send button for a more visually balanced appearance. --- .../blocksuite/ai/components/ai-chat-input/ai-chat-input.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/frontend/core/src/blocksuite/ai/components/ai-chat-input/ai-chat-input.ts b/packages/frontend/core/src/blocksuite/ai/components/ai-chat-input/ai-chat-input.ts index 3d3bf73789..850f66205a 100644 --- a/packages/frontend/core/src/blocksuite/ai/components/ai-chat-input/ai-chat-input.ts +++ b/packages/frontend/core/src/blocksuite/ai/components/ai-chat-input/ai-chat-input.ts @@ -218,6 +218,12 @@ export class AIChatInput extends SignalWatcher(WithDisposable(LitElement)) { user-select: none; } + .chat-panel-send { + display: flex; + justify-content: center; + align-items: center; + } + .chat-panel-send svg rect { fill: var(--affine-primary-color); }