Fix select overflow
parent
5badfa804d
commit
cd549f3687
|
@ -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 New Issue