Skip to content

Commit

Permalink
fix(checkbox): show pointer on css only linked labels
Browse files Browse the repository at this point in the history
CSS Only checkboxes without Javascript which have linked labels (<label for="id">) to be (un) checked by clicking on its label did not have any pointer indicators and text was selected on dragging.
  • Loading branch information
lubber-de committed Aug 16, 2021
1 parent 5c654c3 commit 440a62a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/modules/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
}

/* Selectable Label */
.ui.checkbox input + label[for],
.ui.checkbox input.hidden + label {
cursor: pointer;
user-select: none;
Expand Down

0 comments on commit 440a62a

Please sign in to comment.