feat: widen search and label the upload button

This commit is contained in:
2026-08-11 20:08:53 -04:00
parent adddcfeeed
commit 87fff20d72
3 changed files with 21 additions and 37 deletions
@@ -59,14 +59,14 @@
<svelte:document onkeydown={handleKeydown} />
<form>
<div class="flex w-full max-w-xs flex-col gap-6">
<form class="min-w-0 flex-1">
<div class="flex w-full max-w-xl flex-col">
<InputGroup.Root>
<InputGroup.Input placeholder="Search..." onclick={handleClick} />
<InputGroup.Input placeholder="Search books..." onclick={handleClick} />
<InputGroup.Addon>
<SearchIcon />
</InputGroup.Addon>
<InputGroup.Addon align="inline-end">
<InputGroup.Addon align="inline-end" class="hidden sm:flex">
<Kbd.Root>Ctrl</Kbd.Root>+
<Kbd.Root>k</Kbd.Root>
</InputGroup.Addon>
@@ -108,7 +108,7 @@
class="w-24 rounded object-cover shadow-lg"
/>
<div class="flex-top flex flex-col">
<span class="text-lg font-medium">{book.title}</span>
<span class="font-serif text-lg">{book.title}</span>
<span class=" text-md">{book.subtitle}</span>
{#if book.authors.length > 0}
<span class="line-clamp-1 w-full text-sm text-muted-foreground">