fix: update Field component styles for improved layout and consistency
This commit is contained in:
parent
9b214f3a12
commit
d04d1158c6
|
|
@ -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"
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue