From a916ff46dcf71c7b0945553baedf8d03d948b34b Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Tue, 31 Mar 2026 12:52:31 -0700 Subject: [PATCH] BlockPartPlaceholder: shrink --- .../message/fragments-void/BlockPartPlaceholder.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/chat/components/message/fragments-void/BlockPartPlaceholder.tsx b/src/apps/chat/components/message/fragments-void/BlockPartPlaceholder.tsx index 669ad28ee..b1e71ae46 100644 --- a/src/apps/chat/components/message/fragments-void/BlockPartPlaceholder.tsx +++ b/src/apps/chat/components/message/fragments-void/BlockPartPlaceholder.tsx @@ -143,15 +143,15 @@ function RenderChipAixControl({ aixControl, text }: { size='sm' color={color} variant='soft' - startDecorator={!startText ? undefined :
{startText}
} - endDecorator={!Icon ? undefined : } + startDecorator={startText ?
{startText}
: Icon ? : undefined} sx={{ mx: 1.5, // usual, esp for the looks into Beam gap: 1.5, px: 1.5, py: 0.375, my: '1px', // to not crop the outline on mobile, or on beam - boxShadow: `1px 2px 4px -3px var(--joy-palette-${color}-solidBg)`, + boxShadow: `inset 1px 2px 2px -1px var(--joy-palette-${color}-outlinedBorder)`, + // outline: `1px solid var(--joy-palette-${color}-outlinedBorder)`, // wrap text if needed - introduced for retry error messages whiteSpace: 'normal', wordBreak: 'break-word',