Fix some issues with message spacing (#10553)

This commit is contained in:
DS Boyce
2026-05-19 13:06:21 -07:00
committed by GitHub
parent 7b6a81ac23
commit 34ae819aab
2 changed files with 9 additions and 6 deletions
+5 -3
View File
@@ -438,6 +438,7 @@ let MessageItem = ({
isFromSelf={isFromSelf}
squaredBottomCorner={squaredBottomCorner || hasEmbedAndText}
squaredTopCorner={squaredTopCorner}
isFirstInCluster={isFirstInCluster}
/>
)}
{rt.text.length > 0 && (
@@ -452,9 +453,10 @@ let MessageItem = ({
a.py_sm,
a.px_md,
{
marginTop: isFirstInCluster
? 0
: CLUSTERED_MESSAGE_GAP,
marginTop:
hasEmbedAndText || !isFirstInCluster
? CLUSTERED_MESSAGE_GAP
: 0,
backgroundColor: isFromSelf
? isPending
? pendingColor