Add max-width to emoji completions.
parent
09e8a45cde
commit
1b414cad18
|
@ -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> {shortname}
|
||||
</div>
|
||||
),
|
||||
range,
|
||||
|
|
Loading…
Reference in New Issue