Skip to content

Commit

Permalink
Merge pull request #2520 from DenverCoder544/coordinates_form_layout_fix
Browse files Browse the repository at this point in the history
align checkbox to the top even when label is on multiple rows
  • Loading branch information
ZakarFin authored Nov 23, 2023
2 parents 7cc161e + f8e75fa commit dc85a1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/react/components/Checkbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const StyledCheckbox = styled(AntCheckbox)`
+ .ant-checkbox-wrapper {
margin-left: 0;
}
.ant-checkbox {
margin-bottom: auto;
}
`;

export const Checkbox = (props) => (
Expand Down

0 comments on commit dc85a1f

Please sign in to comment.