fix: restore consistent input field sizing and alignment in FieldInline
This commit is contained in:
@@ -12,11 +12,11 @@
|
|||||||
<div class="flex flex-col gap-2 {props.class}">
|
<div class="flex flex-col gap-2 {props.class}">
|
||||||
<div class="flex items-center justify-between w-full gap-2">
|
<div class="flex items-center justify-between w-full gap-2">
|
||||||
{#if props.label}
|
{#if props.label}
|
||||||
<label class="flex items-center gap-2 max-w-[80%] md:max-w-none">
|
<label class="flex items-center gap-2 min-w-[30%] max-w-[80%] md:max-w-none">
|
||||||
{@render props.label()}
|
{@render props.label()}
|
||||||
</label>
|
</label>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex items-center gap-2 justify-end shrink-0">
|
<div class="flex items-center gap-2 justify-end grow">
|
||||||
{#if props.input}
|
{#if props.input}
|
||||||
{@render props.input()}
|
{@render props.input()}
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user