Toggle the checkbox when clicking on the label

Pretty sure the `user-select: none` could be employed
in other places aswell

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
This commit is contained in:
Kipras Melnikovas committed 2021-03-28 20:07:09 +03:00
1 parent ce35a2d0ab
commit 4e4ae0a7d0
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -17,6 +17,7 @@
.label {
margin-left: 10px;
user-select: none; /* disable text selection when clicking to toggle the checkbox */
}
.input {