fix emoji in safari

1. emoji sometimes vanished from the autocompleter due to a rounding error
   combined with maxWidth: 1em on the emoji span kicking in at arbitrary
   font sizes/zooms
2. apparently safari needs explicit VS-16 ligatures, as per
   ff7dec427f
pull/21833/head
Matthew Hodgson 2020-06-04 22:01:16 +01:00
parent ddc9c67a8b
commit c171bdfec7
3 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export default class EmojiProvider extends AutocompleteProvider {
completion: unicode,
component: (
<PillCompletion title={shortname} aria-label={unicode}>
<span style={{maxWidth: '1em'}}>{ unicode }</span>
<span>{ unicode }</span>
</PillCompletion>
),
range,