Simplify chat margins (#10334)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user