Skip to content

Commit a3318ba

Browse files
committed
Style : Add some space to the input
1 parent 807abb6 commit a3318ba

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

components/Search.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const Search = ({ reg }: { reg?: string }) => {
2626
}
2727
const handleSearch = useDebouncedCallback((term: string) => {
2828
const params = new URLSearchParams(searchParams)
29+
2930
if (term) {
3031
params.set('search', term)
3132
} else {
@@ -57,12 +58,12 @@ const Search = ({ reg }: { reg?: string }) => {
5758
]
5859
const [open, setOpen] = useState(false)
5960
return (
60-
<section className='mt-12 flex flex-col gap-x-3 gap-y-4 lg:flex-row'>
61+
<section className='mt-12 flex w-full flex-col gap-x-3 gap-y-4 lg:flex-row'>
6162
<div className='flex w-full items-center gap-x-3 gap-y-4'>
6263
<Form {...form}>
6364
<form
6465
onSubmit={form.handleSubmit(onSubmit)}
65-
className='w-[50%] space-y-8'
66+
className='w-full space-y-8 lg:w-[50%]'
6667
>
6768
<FormField
6869
control={form.control}

0 commit comments

Comments
 (0)