export const ThreadIndicator = style({
opacity: config.opacity.P300,
- gap: toRem(2),
selectors: {
'button&': {
},
});
-export const ThreadIndicatorIcon = style({
- width: toRem(14),
- height: toRem(14),
-});
-
export const Reply = style({
marginBottom: toRem(1),
minWidth: 0,
);
export const ThreadIndicator = as<'div'>(({ ...props }, ref) => (
- <Box className={css.ThreadIndicator} alignItems="Center" {...props} ref={ref}>
- <Icon className={css.ThreadIndicatorIcon} src={Icons.Message} />
- <Text size="T200">Threaded reply</Text>
+ <Box
+ shrink="No"
+ className={css.ThreadIndicator}
+ alignItems="Center"
+ gap="100"
+ {...props}
+ ref={ref}
+ >
+ <Icon size="50" src={Icons.Thread} />
+ <Text size="L400">Thread</Text>
</Box>
));
const bodyJSX = body ? scaleSystemEmoji(trimReplyFromBody(body)) : fallbackBody;
return (
- <Box direction="Column" alignItems="Start" {...props} ref={ref}>
+ <Box direction="Row" gap="200" alignItems="Center" {...props} ref={ref}>
{threadRootId && (
<ThreadIndicator as="button" data-event-id={threadRootId} onClick={onClick} />
)}
>
<Icon src={Icons.Cross} size="50" />
</IconButton>
- <Box direction="Column">
+ <Box direction="Row" gap="200" alignItems="Center">
{replyDraft.relation?.rel_type === RelationType.Thread && <ThreadIndicator />}
<ReplyLayout
userColor={replyUsernameColor}