mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-27 01:06:29 +01:00
Fix small height input
This commit is contained in:
parent
82980bdefe
commit
36792776eb
1 changed files with 8 additions and 2 deletions
|
@ -22,7 +22,10 @@
|
|||
</script>
|
||||
|
||||
<div
|
||||
class={`flex flex-1 relative items-center bg-background rounded-2xl h-14 focus-within:border-primary border-2 border-transparent ease-in duration-100 ${className}`}>
|
||||
class="flex flex-1 relative items-center bg-background rounded-2xl h-14
|
||||
focus-within:border-primary border-2 border-transparent ease-in duration-100 {className}"
|
||||
style="min-height: 3.5rem;"
|
||||
>
|
||||
{#if icon}
|
||||
<Icon path={icon} color="white" className="absolute ml-4 w-6 h-6" />
|
||||
{/if}
|
||||
|
@ -36,5 +39,8 @@
|
|||
{pattern}
|
||||
on:change
|
||||
on:input={handleInput}
|
||||
class={`w-full ${icon ? 'pl-12' : 'pl-4'} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} />
|
||||
class={`w-full ${
|
||||
icon ? 'pl-12' : 'pl-4'
|
||||
} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue