mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-19 22:12:13 +00:00
checkbox: padding instead of height
This commit is contained in:
parent
eec39c8582
commit
4d35cfc167
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
&:global(.checked) {
|
||||
.icon {
|
||||
height: 55%;
|
||||
padding: 10%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue