Skip to content
Permalink
Browse files

Add max-width to emoji completions.

  • Loading branch information
aviraldg committed Aug 9, 2016
1 parent 09e8a45 commit 1b414cad18519ee40d623732af256215e0459a74
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/autocomplete/EmojiProvider.js
@@ -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,

0 comments on commit 1b414ca

Please sign in to comment.
You can’t perform that action at this time.