From 1e36752194ef1bbf6def51c74504cbb41c2a22d2 Mon Sep 17 00:00:00 2001 From: delfino Date: Thu, 20 Feb 2025 21:24:00 +0000 Subject: [PATCH] d2js: fixing example css --- d2js/js/examples/customizable.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/d2js/js/examples/customizable.html b/d2js/js/examples/customizable.html index 780bdcefe..54df63a49 100644 --- a/d2js/js/examples/customizable.html +++ b/d2js/js/examples/customizable.html @@ -36,11 +36,9 @@ border-radius: 4px; } - .option(:has(.option-toggle-box)) { - .option:not(:has(.option-toggle-box:checked)) .option-select { - opacity: 0.5; - pointer-events: none; - } + .option:has(.option-toggle-box:not(:checked)) .option-select { + opacity: 0.5; + pointer-events: none; } .option {