feat(auto-form): apply full width to form class
The className of the form in the auto-form component has been updated to include "w-full". This change ensures that the form will occupy the full width of its parent container, enhancing layout and visibility.
This commit is contained in:
parent
15eb7addd0
commit
0504692dfb
@ -98,7 +98,7 @@ function AutoForm<SchemaType extends ZodObjectOrWrapped>({
|
|||||||
onSubmit={(e) => {
|
onSubmit={(e) => {
|
||||||
form.handleSubmit(onSubmit)(e);
|
form.handleSubmit(onSubmit)(e);
|
||||||
}}
|
}}
|
||||||
className={cn("space-y-5", className)}
|
className={cn("space-y-5 w-full", className)}
|
||||||
>
|
>
|
||||||
<AutoFormObject
|
<AutoFormObject
|
||||||
schema={objectFormSchema}
|
schema={objectFormSchema}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user