default to 1rem instead 14px
This commit is contained in:
parent
c47bfe53ff
commit
9ed2fd3c4b
4 changed files with 5 additions and 5 deletions
|
|
@ -140,7 +140,7 @@ const EmojiPicker = {
|
|||
},
|
||||
updateEmojiSize () {
|
||||
const css = window.getComputedStyle(this.$refs.popover.$el)
|
||||
const fontSize = css.getPropertyValue('font-size') || '14px'
|
||||
const fontSize = css.getPropertyValue('font-size') || '1rem'
|
||||
const emojiSize = css.getPropertyValue('--emojiSize') || '2.2rem'
|
||||
|
||||
const fontSizeUnit = fontSize.replace(/[0-9,.]+/, '').trim()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue