Skip to content

Commit

Permalink
fix: FormControl, Fieldset で dangerouslyTitleHidden が指定されているときの余白を修正 (#…
Browse files Browse the repository at this point in the history
Qs-F authored Apr 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e54f3ee commit 1d67660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FormGroup/FormGroup.tsx
Original file line number Diff line number Diff line change
@@ -112,12 +112,12 @@ const childrenWrapper = tv({
{
innerMargin: undefined,
isRoleGroup: true,
className: '[&&&]:shr-mt-1',
className: '[:not([hidden])_~_&&&]:shr-mt-1',
},
{
innerMargin: undefined,
isRoleGroup: false,
className: '[&&&]:shr-mt-0.5',
className: '[:not([hidden])_~_&&&]:shr-mt-0.5',
},
],
})

0 comments on commit 1d67660

Please sign in to comment.