diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-09-13 12:02:37 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-09-13 09:02:37 -0700 |
commit | 05af5d14b8d07b010c70750ae1ac5ddf22c120a7 (patch) | |
tree | ba27990d0ff3b5810895435b98882598bc0a8356 /webapp/utils/utils.jsx | |
parent | 2031873cb1a7dcb46c4127bc86f2ad9bf4d3b293 (diff) | |
download | chat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.tar.gz chat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.tar.bz2 chat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.zip |
Highlight comment bar for comments considered mentions (#3938)
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r-- | webapp/utils/utils.jsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index 2780196db..dda1d0986 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -663,9 +663,7 @@ export function applyTheme(theme) { if (theme.mentionHighlightBg) { changeCss('.app__body .mention--highlight, .app__body .search-highlight', 'background:' + theme.mentionHighlightBg, 1); - } - - if (theme.mentionHighlightBg) { + changeCss('.mention-comment', 'border-color:' + theme.mentionHighlightBg + ' !important', 1); changeCss('.app__body .post.post--highlight', 'background:' + changeOpacity(theme.mentionHighlightBg, 0.5), 1); } @@ -1375,4 +1373,4 @@ export function handleFormattedTextClick(e) { browserHistory.push(linkAttribute.value); } } -}
\ No newline at end of file +} |