diff options
author | Vitaly Takmazov | 2019-10-24 14:15:17 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:55 +0300 |
commit | c464702610ffb7f9a143070fdc4711d83ce27436 (patch) | |
tree | 1a2dbe58abea9b0a4d4a1fe7c27e72df7e9d2a74 /vnext/src/ui/Thread.js | |
parent | 8bc4d932b20079c01045248fc02b2726ba73775c (diff) |
Fix link color in own messages
Diffstat (limited to 'vnext/src/ui/Thread.js')
-rw-r--r-- | vnext/src/ui/Thread.js | 2 |
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> |