You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Add max-width to emoji completions.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user