diff options
author | 2019-10-24 14:15:17 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:55 +0300 | |
commit | c464702610ffb7f9a143070fdc4711d83ce27436 (patch) | |
tree | 1a2dbe58abea9b0a4d4a1fe7c27e72df7e9d2a74 /vnext/src/ui/helpers/BubbleStyle.js | |
parent | 8bc4d932b20079c01045248fc02b2726ba73775c (diff) |
Fix link color in own messages
Diffstat (limited to 'vnext/src/ui/helpers/BubbleStyle.js')
-rw-r--r-- | vnext/src/ui/helpers/BubbleStyle.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vnext/src/ui/helpers/BubbleStyle.js b/vnext/src/ui/helpers/BubbleStyle.js index f8b0f4eb..f784e1e3 100644 --- a/vnext/src/ui/helpers/BubbleStyle.js +++ b/vnext/src/ui/helpers/BubbleStyle.js @@ -3,23 +3,6 @@ * @param {import('../../api').Message} msg * @returns {React.CSSProperties} */ -export function bubbleStyle(me, msg) { - const isMe = me.uid === msg.user.uid; - const color = isMe ? '#fff' : '#222'; - const background = isMe ? '#ec4b98' : 'var(--border-color)'; - return { - background: background, - color: color, - padding: '12px', - display: 'inline-block' - }; -} - -/** - * @param {import('../../api').User} me - * @param {import('../../api').Message} msg - * @returns {React.CSSProperties} - */ export function chatItemStyle(me, msg) { const isMe = me.uid === msg.user.uid; const alignment = isMe ? 'flex-end' : 'flex-start'; |