d2js: fixing example css

This commit is contained in:
delfino 2025-02-20 21:24:00 +00:00
parent 9a16c9ec18
commit 1e36752194
No known key found for this signature in database
GPG key ID: CFE0DD6A770BF48C

View file

@ -36,11 +36,9 @@
border-radius: 4px; border-radius: 4px;
} }
.option(:has(.option-toggle-box)) { .option:has(.option-toggle-box:not(:checked)) .option-select {
.option:not(:has(.option-toggle-box:checked)) .option-select { opacity: 0.5;
opacity: 0.5; pointer-events: none;
pointer-events: none;
}
} }
.option { .option {