default to 1rem instead 14px

This commit is contained in:
Henry Jameson 2025-08-15 09:41:08 +03:00
commit 9ed2fd3c4b
4 changed files with 5 additions and 5 deletions

View file

@ -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()