From e1b18727d9c7de74b19a7af104168815b6f9907e Mon Sep 17 00:00:00 2001 From: Aleksandar Grbic Date: Sun, 12 May 2024 09:45:21 +0200 Subject: [PATCH] Add vertical margin to InputError --- src/Components/Inputs/Common/InputError/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Inputs/Common/InputError/index.tsx b/src/Components/Inputs/Common/InputError/index.tsx index 397fe16..888124e 100644 --- a/src/Components/Inputs/Common/InputError/index.tsx +++ b/src/Components/Inputs/Common/InputError/index.tsx @@ -9,7 +9,8 @@ const InputError: FC = ( className: "" } ) => { - const baseClassName = "yl-text-rose-500 peer-invalid:yl-visible yl-mb-4"; + const baseClassName = + "yl-text-rose-500 peer-invalid:yl-visible yl-my-1 yl-block"; if (Array.isArray(error)) { return error.map((e, i) => {