Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-belcher committed Oct 9, 2024
1 parent c57270e commit 81c5554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion react-app/src/components/RHF/FormGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const RHFFormGroup = <TFieldValues extends FieldValues>(props: {
</FormLabel>
</div>
)}
<div className={cn(props.form.wrapperClassName, "gap-y-6")}>
<div className={cn(props.form.wrapperClassName, "space-y-6")}>
{props.form.slots.map((SLOT) => (
<DependencyWrapper key={props.parentId + SLOT.name} {...SLOT}>
<FormField
Expand Down
5 changes: 1 addition & 4 deletions react-app/src/components/RHF/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export const RHFSection = <TFieldValues extends FieldValues>(props: {
)}
{props.section.form?.length > 0 && (
<div
className={cn(
props.section.sectionWrapperClassname,
"px-8 py-6 gap-y-6",
)}
className={cn(props.section.sectionWrapperClassname, "px-8 py-6")}
>
{props.section.form.map((FORM, index) => (
<RHFFormGroup
Expand Down

0 comments on commit 81c5554

Please sign in to comment.