From c464702610ffb7f9a143070fdc4711d83ce27436 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 24 Oct 2019 14:15:17 +0300 Subject: Fix link color in own messages --- vnext/src/ui/helpers/BubbleStyle.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'vnext/src/ui/helpers') 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 @@ -1,20 +1,3 @@ -/** - * @param {import('../../api').User} me - * @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 -- cgit v1.2.3