Skip to content

Full Toolkit for Next-Level Domain Analysis

Remove use of style attributes 👌

Felix Wotschofsky5f773e24da00
diff --git a/components/SearchForm.tsx b/components/SearchForm.tsx
index 2d9fcce..7e9646a 100644
--- a/components/SearchForm.tsx
+++ b/components/SearchForm.tsx
@@ -52,9 +52,7 @@ const SearchForm = (props: SearchFormProps) => {
<>
<form className="flex gap-3" onSubmit={handleSubmit}>
<Input
- style={{
- flex: 3,
- }}
+ className="flex-[3]"
type="text"
required
placeholder="example.com"
@@ -66,9 +64,7 @@ const SearchForm = (props: SearchFormProps) => {
disabled={state !== FormStates.Initial}
/>
<Button
- style={{
- flex: 1,
- }}
+ className="flex-[1]"
type="submit"
disabled={state !== FormStates.Initial}
>