Skip to content

Commit 82d11fa

Browse files
author
Ian Wensink
committed
feat(styled-components): fix checkbox line-height
1 parent 97d0139 commit 82d11fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CheckboxField/styled/inner-label.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ import styled from 'styled-components';
33
export default styled.span`
44
display: inline-block;
55
padding-left: calc(${p => p.theme.spacingUnitCheckbox} * 1.5);
6+
line-height: 1.5;
7+
top: -0.2em;
8+
position: relative;
69
`;

0 commit comments

Comments
 (0)