Improve checkboxes

Signed-off-by: Minecon724 <minecon724@noreply.git.m724.eu>
This commit is contained in:
Minecon724 2025-03-21 08:13:25 +01:00
parent b2cab7b18e
commit 22a13d2800
Signed by: Minecon724
GPG key ID: A02E6E67AB961189
2 changed files with 10 additions and 2 deletions

View file

@ -47,9 +47,16 @@ fieldset label + .ui.dropdown {
fieldset label > input[type="checkbox"], fieldset label > input[type="checkbox"],
fieldset label > input[type="radio"] { fieldset label > input[type="radio"] {
margin-right: 0.75em; margin-right: 0.5em;
margin-top: 0 !important; margin-top: 0 !important;
vertical-align: initial !important; /* overrides a semantic.css rule, remove when obsolete */ vertical-align: initial !important; /* overrides a semantic.css rule, remove when obsolete */
cursor: pointer;
}
fieldset label:has(input[type="checkbox"]),
fieldset label:has(input[type="radio"]) {
cursor: pointer;
} }
@media (min-width: 768px) { @media (min-width: 768px) {

View file

@ -41,7 +41,8 @@ input[type="radio"] {
.ui.checkbox label, .ui.checkbox label,
.ui.radio.checkbox label { .ui.radio.checkbox label {
margin-left: 1.85714em; padding-left: 1.85714em;
cursor: pointer;
} }
.ui.checkbox + label { .ui.checkbox + label {