From 9e93069f64e3e37461dfb443571947e341c9a028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kysel=C3=A1k?= Date: Sat, 30 Dec 2023 11:34:04 +0000 Subject: [PATCH] fix: fix the border of the search input Fixes the border color so that the input element on search form is visible. --- src/SearchWalletForm.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SearchWalletForm.tsx b/src/SearchWalletForm.tsx index e4f85cd..65d5f77 100644 --- a/src/SearchWalletForm.tsx +++ b/src/SearchWalletForm.tsx @@ -13,11 +13,12 @@ export function SearchWalletForm({ onSearch }: Props) { } = useForm(); const fieldStyle = 'flex flex-col mb-2'; + function getEditorStyle(fieldError: FieldError | undefined) { - return fieldError ? 'border-red-500' : 'border-slate-300'; + return fieldError ? 'border border-red-500' : 'border border-slate-700'; } return ( -
+
Search