don't hide the input in onoffswitch

as it wasn't necessary and turns out it causes problems with event routing when the parent <label> includes a <button> which we use now instead of dummy links
This commit is contained in:
tophf 2021-02-28 22:58:24 +03:00
parent c0eace302f
commit 4228758cec

View File

@ -10,7 +10,7 @@
.onoffswitch input {
-webkit-appearance: none;
-moz-appearance: none;
pointer-events: none;
cursor: pointer;
position: absolute;
top: -8px;
bottom: -10px;
@ -29,7 +29,6 @@
.onoffswitch span {
display: block;
overflow: hidden;
cursor: pointer;
height: 12px;
padding: 0;
line-height: 12px;