Page MenuHomePhabricator

D3997.id12535.diff
No OneTemporary

D3997.id12535.diff

diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js
--- a/native/chat/composed-message.react.js
+++ b/native/chat/composed-message.react.js
@@ -73,9 +73,15 @@
const alignStyle = isViewer
? styles.rightChatBubble
: styles.leftChatBubble;
+
+ let containerMarginBottom = 5;
+ if (item.endsCluster) {
+ containerMarginBottom += clusterEndHeight;
+ }
+
const containerStyle = [
styles.alignment,
- { marginBottom: 5 + (item.endsCluster ? clusterEndHeight : 0) },
+ { marginBottom: containerMarginBottom },
];
const messageBoxStyle = { maxWidth: composedMessageMaxWidth };

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 11:59 AM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575487
Default Alt Text
D3997.id12535.diff (675 B)

Event Timeline