From a90ae1d9918e9c2f662614ab6de4562da55a216a Mon Sep 17 00:00:00 2001 From: Arnas Donauskas Date: Mon, 20 Apr 2026 19:35:06 +0300 Subject: [PATCH] fix(inbox): align composer send and template buttons with the textarea MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The \"Type '/' for quick replies\" hint used to live inside the textarea's flex-1 column. With items-end on the parent row, the column's height grew by the hint's line box and the buttons aligned to *that* bottom — sitting one row below the textarea on screen. Move the hint out to a sibling of the flex row. The row now only measures the textarea, items-end aligns the buttons level with the textarea's bottom, and the hint drops neatly below with a pl-11 indent so it stays aligned under the textarea's left edge (w-9 button + gap-2 = 44px). Verified structurally via source; the /inbox route itself requires auth so the preview couldn't exercise the rendered UI. Typecheck clean. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/inbox/message-composer.tsx | 46 ++++++++++++----------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/src/components/inbox/message-composer.tsx b/src/components/inbox/message-composer.tsx index db889e3..7e65a6a 100644 --- a/src/components/inbox/message-composer.tsx +++ b/src/components/inbox/message-composer.tsx @@ -94,28 +94,23 @@ export function MessageComposer({ -
-