style: reduce CommandInput padding for compact appearance

- Change py-3 to py-1 for less vertical padding
- Remove h-10 fixed height for better flexibility
This commit is contained in:
Thomas Camlong
2025-10-13 15:38:37 +02:00
parent e4fa1a4d31
commit 676ee079d6

View File

@@ -68,7 +68,7 @@ function CommandInput({
<CommandPrimitive.Input <CommandPrimitive.Input
data-slot="command-input" data-slot="command-input"
className={cn( className={cn(
"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", "placeholder:text-muted-foreground flex w-full rounded-md bg-transparent py-1 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
className className
)} )}
{...props} {...props}