Skip to content

Commit

Permalink
Fix form columns not working properly (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosvrouvas authored Sep 28, 2024
1 parent 9a5674e commit 8eea062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
})
Expand Down

0 comments on commit 8eea062

Please sign in to comment.