make bubble message avatar smaller

This commit is contained in:
Ajay Bura 2025-09-14 15:07:53 +05:30
parent 01d57deea1
commit 3a14ad764e
3 changed files with 20 additions and 18 deletions

View file

@ -17,14 +17,9 @@ export const BubbleLayout = as<'div', BubbleLayoutProps>(
<Box
className={classNames(
css.BubbleContent,
css.BubbleContentArrow,
self
? {
[css.BubbleContentArrowRight]: !!before,
}
: {
[css.BubbleContentArrowLeft]: !!before,
}
before ? css.BubbleContentArrow : undefined,
before && self ? css.BubbleContentArrowRight : undefined,
before && !self ? css.BubbleContentArrowLeft : undefined
)}
direction="Column"
>