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