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
This commit is contained in:
parent
ddc9c67a8b
commit
c171bdfec7
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -122,7 +122,7 @@ export default class EmojiProvider extends AutocompleteProvider {
|
||||||
completion: unicode,
|
completion: unicode,
|
||||||
component: (
|
component: (
|
||||||
<PillCompletion title={shortname} aria-label={unicode}>
|
<PillCompletion title={shortname} aria-label={unicode}>
|
||||||
<span style={{maxWidth: '1em'}}>{ unicode }</span>
|
<span>{ unicode }</span>
|
||||||
</PillCompletion>
|
</PillCompletion>
|
||||||
),
|
),
|
||||||
range,
|
range,
|
||||||
|
|
Loading…
Reference in a new issue