Page MenuHomePhabricator

D3997.diff
No OneTemporary

D3997.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
Thu, Nov 28, 1:11 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2592272
Default Alt Text
D3997.diff (675 B)

Event Timeline