mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-26 16:28:55 +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}
|
{/if}
|
||||||
<input
|
<input
|
||||||
bind:this={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}
|
{placeholder}
|
||||||
value={nothingSelected || focused ? search : label}
|
value={nothingSelected || focused ? search : label}
|
||||||
on:input={onInput} />
|
on:input={onInput} />
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
<input
|
<input
|
||||||
bind:this={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}
|
{placeholder}
|
||||||
value={nothingSelected || focused ? search : label}
|
value={nothingSelected || focused ? search : label}
|
||||||
on:input={onInput} />
|
on:input={onInput} />
|
||||||
|
|
Loading…
Add table
Reference in a new issue