fix: gap and select not ready

This commit is contained in:
Julien Calixte
2025-07-09 23:27:40 +02:00
parent 178d80a872
commit 1fc80bdf87
2 changed files with 2 additions and 2 deletions

View File

@@ -12,9 +12,8 @@ const fontSizes = Array.from({ length: 7 }, (_, i) => `${9 + i * 2}pt`)
</script>
<template>
<div class="font-change">
<div class="font-change" v-if="sortedFontFamilies.length > 0">
<select
v-if="sortedFontFamilies.length > 0"
class="select"
:value="store.userSettings?.chosenFontFamily"
@change="store.setFontFamily(($event.target as HTMLSelectElement).value)"