Add max-width to emoji completions.
This commit is contained in:
parent
09e8a45cde
commit
1b414cad18
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export default class EmojiProvider extends AutocompleteProvider {
|
||||||
completion: shortnameToUnicode(shortname),
|
completion: shortnameToUnicode(shortname),
|
||||||
component: (
|
component: (
|
||||||
<div className="mx_Autocomplete_Completion">
|
<div className="mx_Autocomplete_Completion">
|
||||||
<span dangerouslySetInnerHTML={{__html: imageHTML}}></span> {shortname}
|
<span style={{maxWidth: '1em'}} dangerouslySetInnerHTML={{__html: imageHTML}}></span> {shortname}
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
range,
|
range,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue