Simplify chat margins (#10334)

This commit is contained in:
DS Boyce
2026-04-22 12:31:08 -07:00
committed by GitHub
parent 18143d051b
commit 8d6d4f9850
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ let DateDivider = ({date: dateStr}: {date: string}): React.ReactNode => {
} }
return ( return (
<View style={[a.w_full, a.my_sm]}> <View style={[a.w_full, a.mt_md]}>
<Text <Text
style={[ style={[
a.text_xs, a.text_xs,
+1 -2
View File
@@ -404,8 +404,7 @@ let MessageItem = ({
<DateDivider date={message.sentAt} /> <DateDivider date={message.sentAt} />
</Animated.View> </Animated.View>
)} )}
<View <View style={[messageInset, effectiveFirstInCluster && a.mt_md]}>
style={[messageInset, isFirstInCluster && !showDateDivider && a.mt_sm]}>
<View style={[a.relative]}> <View style={[a.relative]}>
{showAvatar ? ( {showAvatar ? (
<View <View
-1
View File
@@ -28,7 +28,6 @@ export function SystemMessageItem({
a.justify_center, a.justify_center,
a.px_md, a.px_md,
a.mt_md, a.mt_md,
a.mb_xs,
]}> ]}>
<Icon size="xs" style={[a.mr_2xs, t.atoms.text_contrast_medium]} /> <Icon size="xs" style={[a.mr_2xs, t.atoms.text_contrast_medium]} />
<Text <Text