aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Thread.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-24 14:15:17 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitc464702610ffb7f9a143070fdc4711d83ce27436 (patch)
tree1a2dbe58abea9b0a4d4a1fe7c27e72df7e9d2a74 /vnext/src/ui/Thread.js
parent8bc4d932b20079c01045248fc02b2726ba73775c (diff)
Fix link color in own messages
Diffstat (limited to 'vnext/src/ui/Thread.js')
-rw-r--r--vnext/src/ui/Thread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js
index 2e07cd0e..5a5dbb48 100644
--- a/vnext/src/ui/Thread.js
+++ b/vnext/src/ui/Thread.js
@@ -74,7 +74,7 @@ function Comment({ msg, draft, visitor, active, setActive, onStartEditing, postC
</div>
{
msg.body &&
- <div style={bubbleStyle(visitor, msg)}>
+ <div className={visitor.uid === msg.user.uid ? 'msg-bubble msg-bubble-my' : 'msg-bubble'}>
<div ref={msgRef}>
<p dangerouslySetInnerHTML={{ __html: format(msg.body, msg.mid.toString(), (msg.tags || []).indexOf('code') >= 0) }} />
</div>