chore: input height for mobile

This commit is contained in:
Aslam H
2024-10-07 18:41:13 +07:00
parent e14714d5dd
commit 1ed8d39207

View File

@@ -109,7 +109,7 @@ export function Autocomplete({
"rounded-none rounded-t-lg border-l border-r border-t": open, "rounded-none rounded-t-lg border-l border-r border-t": open,
})} })}
> >
<div className={"relative flex items-center px-2 py-3"}> <div className="relative flex items-center">
<CommandPrimitive.Input <CommandPrimitive.Input
ref={inputRef} ref={inputRef}
value={inputValue} value={inputValue}
@@ -125,7 +125,7 @@ export function Autocomplete({
}} }}
placeholder={filteredTopics[0]?.prettyName} placeholder={filteredTopics[0]?.prettyName}
className={cn( className={cn(
"placeholder:text-muted-foreground flex-1 bg-transparent px-2 outline-none", "placeholder:text-muted-foreground flex-1 bg-transparent min-h-10 px-3 py-1 sm:py-3 sm:px-4 outline-none",
)} )}
autoFocus autoFocus
/> />