fix: update Field component styles for improved layout and consistency

This commit is contained in:
faisolavolut 2025-03-05 09:52:47 +07:00
parent 9b214f3a12
commit d04d1158c6
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,7 @@ export const Field: React.FC<FieldProps> = ({
: "focus-within:border focus-within:border-primary"
: "",
style === "underline" || style === "gform"
? "rounded-none border-transparent border-b-gray-300"
? "rounded-none border-transparent border-b-gray-300 "
: "",
[
"rating",
@ -253,6 +253,8 @@ export const Field: React.FC<FieldProps> = ({
classField,
error
? "flex flex-row rounded-md flex-grow border-red-500 border items-center"
: style === "underline"
? "flex flex-row rounded-none flex-grow items-center"
: "flex flex-row rounded-md flex-grow items-center"
)}
>