fix #1378
This commit is contained in:
parent
d62393bf6b
commit
2869ab787d
1 changed files with 2 additions and 2 deletions
|
|
@ -143,10 +143,10 @@ const EmojiPicker = {
|
|||
const fontSize = css.getPropertyValue('font-size') || '14px'
|
||||
const emojiSize = css.getPropertyValue('--emojiSize') || '2.2rem'
|
||||
|
||||
const fontSizeUnit = fontSize.replace(/[0-9,.]+/, '')
|
||||
const fontSizeUnit = fontSize.replace(/[0-9,.]+/, '').trim()
|
||||
const fontSizeValue = Number(fontSize.replace(/[^0-9,.]+/, ''))
|
||||
|
||||
const emojiSizeUnit = emojiSize.replace(/[0-9,.]+/, '')
|
||||
const emojiSizeUnit = emojiSize.replace(/[0-9,.]+/, '').trim()
|
||||
const emojiSizeValue = Number(emojiSize.replace(/[^0-9,.]+/, ''))
|
||||
|
||||
let fontSizeMultiplier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue