Skip to content

Commit

Permalink
fix(core): overlapping styles in search form
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Jul 31, 2024
1 parent c00b6fb commit cb3290d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-seas-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Fix overlapping styles in search form.
7 changes: 1 addition & 6 deletions core/components/search-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ export const SearchForm = ({ initialTerm = '' }: Props) => {
<Form action="/search" className="flex" method="get">
<Field className="me-4 w-full" name="search">
<FieldControl asChild>
<Input
className="grey-200 border-2 px-8 py-3 font-semibold"
defaultValue={initialTerm}
name="term"
placeholder={t('searchPlaceholder')}
/>
<Input defaultValue={initialTerm} name="term" placeholder={t('searchPlaceholder')} />
</FieldControl>
</Field>
<FormSubmit asChild>
Expand Down

0 comments on commit cb3290d

Please sign in to comment.