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

Commit

Permalink
Add max-width to emoji completions.
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraldg committed Aug 9, 2016
1 parent 09e8a45 commit 1b414ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocomplete/EmojiProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class EmojiProvider extends AutocompleteProvider {
completion: shortnameToUnicode(shortname),
component: (
<div className="mx_Autocomplete_Completion">
<span dangerouslySetInnerHTML={{__html: imageHTML}}></span> {shortname}
<span style={{maxWidth: '1em'}} dangerouslySetInnerHTML={{__html: imageHTML}}></span>&nbsp;&nbsp;{shortname}
</div>
),
range,
Expand Down

0 comments on commit 1b414ca

Please sign in to comment.