From 0504692dfb177c94e7a05570193bc242c5058eaf Mon Sep 17 00:00:00 2001 From: Mathis Date: Mon, 17 Jun 2024 09:44:07 +0200 Subject: [PATCH] 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. --- src/components/auto-form/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/auto-form/index.tsx b/src/components/auto-form/index.tsx index d7bdfff..82918b0 100644 --- a/src/components/auto-form/index.tsx +++ b/src/components/auto-form/index.tsx @@ -98,7 +98,7 @@ function AutoForm({ onSubmit={(e) => { form.handleSubmit(onSubmit)(e); }} - className={cn("space-y-5", className)} + className={cn("space-y-5 w-full", className)} >