summaryrefslogtreecommitdiffstats
path: root/web/react/components/suggestion/at_mention_provider.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
commit3745204097b2f03cd5f3fc1292ea62fb4f931232 (patch)
tree3380ee0fd2341dac1814aed8cf851bfe274a21a7 /web/react/components/suggestion/at_mention_provider.jsx
parentbf7ae0711743926cfbb031675cc3320d7a942465 (diff)
parent7d79a916dd58d51989d35721060cfca6dce1baca (diff)
downloadchat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.gz
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.bz2
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.zip
Merge pull request #2429 from asaadmahmoodspin/ui-improvements
PLT-963 - Improving scss structure
Diffstat (limited to 'web/react/components/suggestion/at_mention_provider.jsx')
-rw-r--r--web/react/components/suggestion/at_mention_provider.jsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/react/components/suggestion/at_mention_provider.jsx b/web/react/components/suggestion/at_mention_provider.jsx
index c5bd13c26..b53b351d9 100644
--- a/web/react/components/suggestion/at_mention_provider.jsx
+++ b/web/react/components/suggestion/at_mention_provider.jsx
@@ -24,7 +24,7 @@ class AtMentionSuggestion extends React.Component {
defaultMessage='Notifies everyone in the team'
/>
);
- icon = <i className='mention-img fa fa-users fa-2x'/>;
+ icon = <i className='mention__image fa fa-users fa-2x'/>;
} else if (item.username === 'channel') {
username = 'channel';
description = (
@@ -33,19 +33,19 @@ class AtMentionSuggestion extends React.Component {
defaultMessage='Notifies everyone in the channel'
/>
);
- icon = <i className='mention-img fa fa-users fa-2x'/>;
+ icon = <i className='mention__image fa fa-users fa-2x'/>;
} else {
username = item.username;
description = Utils.getFullName(item);
icon = (
<img
- className='mention-img'
+ className='mention__image'
src={'/api/v1/users/' + item.id + '/image?time=' + item.update_at}
/>
);
}
- let className = 'mentions-name';
+ let className = 'mentions__name';
if (isSelection) {
className += ' suggestion--selected';
}
@@ -58,11 +58,11 @@ class AtMentionSuggestion extends React.Component {
<div className='pull-left'>
{icon}
</div>
- <div className='pull-left mention-align'>
+ <div className='pull-left mention--align'>
<span>
{'@' + username}
</span>
- <span className='mention-fullname'>
+ <span className='mention__fullname'>
{description}
</span>
</div>