mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-12-22 22:46:41 +01:00
Fix select overflow
This commit is contained in:
parent
5badfa804d
commit
cd549f3687
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@
|
|||
{/if}
|
||||
<input
|
||||
bind:this={input}
|
||||
class={`bg-transparent focus:outline-none h-full ${nothingSelected ? 'text-gray-500' : 'text-white'}`}
|
||||
class={`bg-transparent focus:outline-none h-full max-w-full ${nothingSelected ? 'text-gray-500' : 'text-white'}`}
|
||||
{placeholder}
|
||||
value={nothingSelected || focused ? search : label}
|
||||
on:input={onInput} />
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
{/if}
|
||||
<input
|
||||
bind:this={input}
|
||||
class={`bg-transparent focus:outline-none h-full ${nothingSelected ? 'text-gray-500' : 'text-white'}`}
|
||||
class={`bg-transparent focus:outline-none h-full max-w-full ${nothingSelected ? 'text-gray-500' : 'text-white'}`}
|
||||
{placeholder}
|
||||
value={nothingSelected || focused ? search : label}
|
||||
on:input={onInput} />
|
||||
|
|
Loading…
Reference in a new issue