checkbox: padding instead of height

This commit is contained in:
svetlagasheva 2019-01-24 18:18:59 +02:00
parent eec39c8582
commit 4d35cfc167
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class Checkbox extends Component {
onClick = (event) => {
event.preventDefault();
if (typeof this.props.onClick === 'function') {
this.props.onClick();
this.props.onClick(event);
}
}

View file

@ -22,7 +22,7 @@
&:global(.checked) {
.icon {
height: 55%;
padding: 10%;
}
}
}