Fix form columns not working properly (#224)

This commit is contained in:
Kostas Vrouvas
2024-09-29 01:41:19 +03:00
committed by GitHub
parent 9a5674e239
commit 8eea062218

View File

@@ -79,7 +79,7 @@ const FormItem = React.forwardRef<
return (
<FormItemContext.Provider value={{ id }}>
<div ref={ref} className={cn("space-y-2", className)} {...props} />
<div ref={ref} className={cn("col-span-2 md:col-span-1 space-y-2", className)} {...props} />
</FormItemContext.Provider>
)
})