Skip to content

Commit

Permalink
Merge pull request #1071 from acm-ucr/khandrew1/reduceCheckboxSpacing
Browse files Browse the repository at this point in the history
fixed checkbox spacing
  • Loading branch information
shahdivyank authored Jan 19, 2024
2 parents b0dc07d + 77ab08e commit 3a99ce8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/dynamic/Checkbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Checkbox = ({
} text-lg`}
/>
</div>
{text && <p className="pl-3 my-0 pt-0">{text}</p>}
{text && <p className="my-0 pt-0">{text}</p>}
</div>
);
};
Expand Down
1 change: 0 additions & 1 deletion src/components/dynamic/form/form/Questions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const Questions = ({
</p>
{field.options.map((option, i) => (
<Checkbox
className="w-1/2"
key={i}
toggle={object[field.field].includes(option)}
text={option}
Expand Down

0 comments on commit 3a99ce8

Please sign in to comment.