From 83d577dc344e2f1be10f3a11dd49890e2bdc881c Mon Sep 17 00:00:00 2001 From: klopez4212 Date: Sat, 4 Jul 2026 15:14:49 +0100 Subject: [PATCH] Ellipsize the shimmer overlay and center the stop icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shimmer ::before repeats the full data-shimmer-text, so on truncating labels it painted the clipped characters over the base text's ellipsis. The overlay now truncates identically (same font and box, so the ellipsis lands in the same spot). The stop square sized its svg directly, which competed with the button's [&_svg]:size-4 rule and sat the glyph off-center — the size override now lives on the button so class merge resolves it. Co-Authored-By: Claude Fable 5 --- .../src/features/messages/ui/MessageComposerToolbar.tsx | 7 +++++-- desktop/src/shared/styles/globals/animations.css | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/desktop/src/features/messages/ui/MessageComposerToolbar.tsx b/desktop/src/features/messages/ui/MessageComposerToolbar.tsx index 6d03805c6..f7efac52c 100644 --- a/desktop/src/features/messages/ui/MessageComposerToolbar.tsx +++ b/desktop/src/features/messages/ui/MessageComposerToolbar.tsx @@ -322,13 +322,16 @@ export const MessageComposerToolbar = React.memo( {onStopAgent && !isSending ? ( ) : (