feat: lineheight

This commit is contained in:
kwaroran
2024-06-07 17:55:59 +09:00
parent 58bf0807d2
commit 7bb056d6a8
6 changed files with 9 additions and 3 deletions

View File

@@ -32,5 +32,5 @@
bind:value={value}
class="rounded-md p-2 text-textcolor bg-transparent resize-none overflow-y-hidden border border-darkborderc"
style:font-size="{0.875 * ($DataBase.zoomsize / 100)}rem"
style:line-height="{1.25 * ($DataBase.zoomsize / 100)}rem"
style:line-height="{($DataBase.lineHeight ?? 1.25) * ($DataBase.zoomsize / 100)}rem"
/>