Skip to content

Commit

Permalink
Add vertical margin to InputError
Browse files Browse the repository at this point in the history
  • Loading branch information
agjs committed May 12, 2024
1 parent ef0146a commit e1b1872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Inputs/Common/InputError/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const InputError: FC<IInputErrorProps> = (
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) => {
Expand Down

0 comments on commit e1b1872

Please sign in to comment.