refactor(Search): constrain max width

This commit is contained in:
mei (ckie) 2024-10-25 01:06:27 +03:00
parent 1eddddd7d1
commit 4b25036169
Signed by: ckie
GPG key ID: 13E79449C0525215

View file

@ -2,6 +2,7 @@
<input
type="text"
placeholder="Search..."
class="rounded-md bg-zinc-200 px-4 py-[6px] text-md/10 grow-0 focus:grow transition-all hover:ring-1 hover:ring-zinc-500 focus:outline-none focus:ring-2 focus:ring-coral-300 placeholder:text-zinc-600"
class="rounded-md bg-zinc-200 px-4 py-[6px] text-md/10 grow-0
focus:grow max-w-96 transition-all hover:ring-1 hover:ring-zinc-500 focus:outline-none focus:ring-2 focus:ring-coral-300 placeholder:text-zinc-600"
/>
</div>