Skip to content

Commit

Permalink
align checkbox to the top even when label is on multiple rows
Browse files Browse the repository at this point in the history
DenverCoder544 committed Nov 23, 2023
1 parent 7cc161e commit f8e75fa
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
@@ -7,6 +7,10 @@ const StyledCheckbox = styled(AntCheckbox)`
+ .ant-checkbox-wrapper {
margin-left: 0;
}
.ant-checkbox {
margin-bottom: auto;
}
`;

export const Checkbox = (props) => (

0 comments on commit f8e75fa

Please sign in to comment.