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:
parent
c0eace302f
commit
4228758cec
|
@ -10,7 +10,7 @@
|
||||||
.onoffswitch input {
|
.onoffswitch input {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
pointer-events: none;
|
cursor: pointer;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -8px;
|
top: -8px;
|
||||||
bottom: -10px;
|
bottom: -10px;
|
||||||
|
@ -29,7 +29,6 @@
|
||||||
.onoffswitch span {
|
.onoffswitch span {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
|
||||||
height: 12px;
|
height: 12px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user