Add margin auto to center the checkbox to the middle of the parent component.
This commit is contained in:
parent
5599b8288d
commit
f64caa7f43
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
border: 0;
|
||||
padding: 0;
|
||||
user-select: none;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
.react-toggle-screenreader-only {
|
||||
|
|
Loading…
Reference in a new issue