summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-09-13 12:02:37 -0400
committerCorey Hulen <corey@hulen.com>2016-09-13 09:02:37 -0700
commit05af5d14b8d07b010c70750ae1ac5ddf22c120a7 (patch)
treeba27990d0ff3b5810895435b98882598bc0a8356 /webapp/utils
parent2031873cb1a7dcb46c4127bc86f2ad9bf4d3b293 (diff)
downloadchat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.tar.gz
chat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.tar.bz2
chat-05af5d14b8d07b010c70750ae1ac5ddf22c120a7.zip
Highlight comment bar for comments considered mentions (#3938)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/utils.jsx6
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
+}