Skip to content

Commit

Permalink
Update CardInput.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lahcenbcf authored Jun 21, 2024
1 parent 26dd528 commit 835fcf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CardInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function CardInput({
) : cardInfo.type === 'checkbox_group' ? (
<div className="mt-6 ml-8 flex flex-col">
{cardInfo.options.map((op, index) => (
<div key={index} className="space-x-4 custom-checkbox">
<div key={index} className="custom-checkbox">
<input
type="checkbox"
value={op}
Expand All @@ -115,8 +115,8 @@ export default function CardInput({
checked={formData[cardInfo.field]?.includes(op) || false}
onChange={handleCheckboxChange}
/>
<span className="checkmark"></span>
<Label htmlFor={op} className="text-lg">

<Label htmlFor={op} className="text-start checkbox-label">
{op}
</Label>
</div>
Expand Down

0 comments on commit 835fcf4

Please sign in to comment.