From 4d767bccacfbf1b85ad909fd97111d82f61b57b6 Mon Sep 17 00:00:00 2001 From: Jake Albaugh Date: Sun, 2 Jun 2024 21:13:27 -0500 Subject: [PATCH] checkbox field indeterminate style --- src/ui/primitives/Checkbox/checkbox.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/primitives/Checkbox/checkbox.css b/src/ui/primitives/Checkbox/checkbox.css index 2eef1f0..03d18d2 100644 --- a/src/ui/primitives/Checkbox/checkbox.css +++ b/src/ui/primitives/Checkbox/checkbox.css @@ -34,14 +34,14 @@ --checkbox-border: var(--checkbox-background); } -.checkbox-field[data-selected] - > .checkbox:not([data-indeterminate]) +.checkbox-field[data-selected]:not([data-indeterminate]) + > .checkbox > .icon-selected, .checkbox[data-selected]:not([data-indeterminate]) > .icon-selected { display: block; } -.checkbox-field[data-selected] - > .checkbox[data-indeterminate] +.checkbox-field[data-selected][data-indeterminate] + > .checkbox > .icon-indeterminate, .checkbox[data-selected][data-indeterminate] > .icon-indeterminate { display: block;