mirror of
https://github.com/open-webui/open-webui
synced 2025-06-23 02:16:52 +00:00
add labels to image compression inputs
This commit is contained in:
parent
047d8cec5d
commit
6fcdd11fb2
@ -1160,9 +1160,10 @@
|
|||||||
{#if imageCompression}
|
{#if imageCompression}
|
||||||
<div>
|
<div>
|
||||||
<div class=" py-0.5 flex w-full justify-between text-xs">
|
<div class=" py-0.5 flex w-full justify-between text-xs">
|
||||||
<div class=" self-center text-xs">{$i18n.t('Image Max Compression Size')}</div>
|
<div id="image-compression-size-label" class=" self-center text-xs">{$i18n.t('Image Max Compression Size')}</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
<label class="sr-only" for="image-comp-width">{$i18n.t('Image Max Compression Size width')}</label>
|
||||||
<input
|
<input
|
||||||
bind:value={imageCompressionSize.width}
|
bind:value={imageCompressionSize.width}
|
||||||
type="number"
|
type="number"
|
||||||
@ -1170,6 +1171,7 @@
|
|||||||
min="0"
|
min="0"
|
||||||
placeholder="Width"
|
placeholder="Width"
|
||||||
/>x
|
/>x
|
||||||
|
<label class="sr-only" for="image-comp-height">{$i18n.t('Image Max Compression Size height')}</label>
|
||||||
<input
|
<input
|
||||||
bind:value={imageCompressionSize.height}
|
bind:value={imageCompressionSize.height}
|
||||||
type="number"
|
type="number"
|
||||||
|
Loading…
Reference in New Issue
Block a user