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:
@@ -17,6 +17,7 @@
|
||||
|
||||
.label {
|
||||
margin-left: 10px;
|
||||
user-select: none; /* disable text selection when clicking to toggle the checkbox */
|
||||
}
|
||||
|
||||
.input {
|
||||
|
||||
Reference in New Issue
Block a user