Skip to content

Commit e9fcc49

Browse files
committed
fix(checkbox): remove bottom padding from PlansFormLabel in Standard and BorderCheckboxControl
1 parent e608f21 commit e9fcc49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/form-builder/components/render-form-element/plans-checkbox-field.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function StandardCheckboxControl(props: CheckboxControlProps) {
7575
required={formElement.required}
7676
/>
7777
<div>
78-
<PlansFormLabel className="w-full grow">
78+
<PlansFormLabel className="w-full grow pb-0">
7979
{formElement.label}
8080
</PlansFormLabel>
8181
{formElement.description && (
@@ -114,7 +114,7 @@ function BorderCheckboxControl(props: CheckboxControlProps) {
114114
<div>
115115
<PlansFormLabel
116116
className={cn(
117-
"pointer-events-none w-full grow",
117+
"pointer-events-none w-full grow pb-0",
118118
isChecked && "text-orange-200",
119119
)}
120120
>

0 commit comments

Comments
 (0)