Simplify chat margins (#10334)
This commit is contained in:
@@ -56,7 +56,7 @@ let DateDivider = ({date: dateStr}: {date: string}): React.ReactNode => {
|
||||
}
|
||||
|
||||
return (
|
||||
<View style={[a.w_full, a.my_sm]}>
|
||||
<View style={[a.w_full, a.mt_md]}>
|
||||
<Text
|
||||
style={[
|
||||
a.text_xs,
|
||||
|
||||
@@ -404,8 +404,7 @@ let MessageItem = ({
|
||||
<DateDivider date={message.sentAt} />
|
||||
</Animated.View>
|
||||
)}
|
||||
<View
|
||||
style={[messageInset, isFirstInCluster && !showDateDivider && a.mt_sm]}>
|
||||
<View style={[messageInset, effectiveFirstInCluster && a.mt_md]}>
|
||||
<View style={[a.relative]}>
|
||||
{showAvatar ? (
|
||||
<View
|
||||
|
||||
@@ -28,7 +28,6 @@ export function SystemMessageItem({
|
||||
a.justify_center,
|
||||
a.px_md,
|
||||
a.mt_md,
|
||||
a.mb_xs,
|
||||
]}>
|
||||
<Icon size="xs" style={[a.mr_2xs, t.atoms.text_contrast_medium]} />
|
||||
<Text
|
||||
|
||||
Reference in New Issue
Block a user