followup for 4228758c: only input should be clickable

This commit is contained in:
tophf 2021-02-28 23:39:09 +03:00
parent 102121ad8f
commit 8eca4e9139

View File

@ -36,6 +36,7 @@
border-radius: 12px; border-radius: 12px;
background-color: #E0E0E0; background-color: #E0E0E0;
box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1); box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1);
pointer-events: none; /* this is just a non-clickable decoration, only `input` is clickable */
} }
.onoffswitch span::before { .onoffswitch span::before {