fix event time appears on left in hidden bubles

This commit is contained in:
Ajay Bura 2025-09-19 16:21:47 +05:30
parent f11911d64c
commit a0087964a7

View file

@ -40,19 +40,23 @@ export const BubbleLayout = as<'div', BubbleLayoutProps>(
</Box> </Box>
<Box grow="Yes" direction="Column"> <Box grow="Yes" direction="Column">
{header} {header}
<Box> {hideBubble ? (
<Box children
className={ ) : (
hideBubble <Box>
? undefined <Box
: classNames(css.BubbleContent, before ? css.BubbleContentArrowLeft : undefined) className={
} hideBubble
direction="Column" ? undefined
> : classNames(css.BubbleContent, before ? css.BubbleContentArrowLeft : undefined)
{!hideBubble && before ? <BubbleLeftArrow variant="SurfaceVariant" /> : null} }
{children} direction="Column"
>
{before ? <BubbleLeftArrow variant="SurfaceVariant" /> : null}
{children}
</Box>
</Box> </Box>
</Box> )}
</Box> </Box>
</Box> </Box>
) )