feat: lineheight
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
}
|
||||
}}
|
||||
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"
|
||||
>
|
||||
{#key $CurrentVariablePointer}
|
||||
{#await markParsing(msgDisplay, character, 'normal', idx, translated)}
|
||||
|
||||
@@ -153,6 +153,10 @@
|
||||
<SliderInput min={50} max={200} bind:value={$DataBase.zoomsize} />
|
||||
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.zoomsize)}%</span>
|
||||
|
||||
<span class="text-textcolor mt-4">{language.lineHeight}</span>
|
||||
<SliderInput min={0.5} max={3} step={0.05} bind:value={$DataBase.lineHeight} />
|
||||
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.lineHeight)}</span>
|
||||
|
||||
<span class="text-textcolor">{language.iconSize}</span>
|
||||
<SliderInput min={50} max={200} bind:value={$DataBase.iconsize} />
|
||||
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.iconsize)}%</span>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
Reference in New Issue
Block a user