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',