Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
[MM-36173] Fix spacing and opacity on descriptions for special mentio…
Browse files Browse the repository at this point in the history
…ns (#8235)
  • Loading branch information
devinbinnie authored Jun 9, 2021
1 parent 9e4468c commit 9b781de
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions components/suggestion/at_mention_provider/at_mention_suggestion.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ export default class AtMentionSuggestion extends Suggestion {
if (item.username === 'all') {
itemname = 'all';
description = (
<FormattedMessage
id='suggestion.mention.all'
defaultMessage='Notifies everyone in this channel'
/>
<span className='light ml-2'>
<FormattedMessage
id='suggestion.mention.all'
defaultMessage='Notifies everyone in this channel'
/>
</span>
);
icon = (
<FormattedMessage
Expand All @@ -50,10 +52,12 @@ export default class AtMentionSuggestion extends Suggestion {
} else if (item.username === 'channel') {
itemname = 'channel';
description = (
<FormattedMessage
id='suggestion.mention.channel'
defaultMessage='Notifies everyone in this channel'
/>
<span className='light ml-2'>
<FormattedMessage
id='suggestion.mention.channel'
defaultMessage='Notifies everyone in this channel'
/>
</span>
);
icon = (
<FormattedMessage
Expand All @@ -73,10 +77,12 @@ export default class AtMentionSuggestion extends Suggestion {
} else if (item.username === 'here') {
itemname = 'here';
description = (
<FormattedMessage
id='suggestion.mention.here'
defaultMessage='Notifies everyone online in this channel'
/>
<span className='light ml-2'>
<FormattedMessage
id='suggestion.mention.here'
defaultMessage='Notifies everyone online in this channel'
/>
</span>
);
icon = (
<FormattedMessage
Expand Down

0 comments on commit 9b781de

Please sign in to comment.