Skip to content

Commit

Permalink
chore: address pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
yhafez committed Jul 17, 2023
1 parent 5bd19b1 commit d47de1d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions packages/react/src/components/Checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
}

return (
<>
<div className="Checkbox">
<div className={classNames('Checkbox is--flex-row', className)}>
<input
id={id}
Expand Down Expand Up @@ -124,18 +124,18 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
}
}}
/>
{labelDescription && (
<span id={labelDescriptionId} className="Field__labelDescription">
{labelDescription}
</span>
)}
{error && (
<div id={errorId} className="Error">
{error}
</div>
)}
</div>
</>
{labelDescription && (
<span id={labelDescriptionId} className="Field__labelDescription">
{labelDescription}
</span>
)}
{error && (
<div id={errorId} className="Error">
{error}
</div>
)}
</div>
);
}
);
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ textarea.Field--has-error:focus:hover,
border-radius: 3px;
color: #333;
margin-right: var(--space-half);
align-self: flex-start;
}

.Radio__overlay {
border-radius: 50%;
align-self: flex-start;
}

.Radio__overlay svg,
Expand Down

0 comments on commit d47de1d

Please sign in to comment.