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:
2024-06-17 09:44:07 +02:00
parent 15eb7addd0
commit 0504692dfb

View File

@@ -98,7 +98,7 @@ function AutoForm<SchemaType extends ZodObjectOrWrapped>({
onSubmit={(e) => {
form.handleSubmit(onSubmit)(e);
}}
className={cn("space-y-5", className)}
className={cn("space-y-5 w-full", className)}
>
<AutoFormObject
schema={objectFormSchema}