From 1282a72acf12165682ddcfe6a95b6b54c3d73257 Mon Sep 17 00:00:00 2001
From: Raymond Zhou <56318341+rayzhou-bit@users.noreply.github.com>
Date: Thu, 9 Feb 2023 15:33:20 -0800
Subject: [PATCH] feat: green radio+checkbox only for valid Checker (#239)
---
.../ProblemEditor/components/EditProblemView/index.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/index.scss b/src/editors/containers/ProblemEditor/components/EditProblemView/index.scss
index bd2699f85..500012974 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/index.scss
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/index.scss
@@ -7,13 +7,13 @@
// overrides paragon in order to make checked radio and checkboxes green
$checked-color: '%230D7D4D';
-.pgn__form-radio-input {
+.pgn__form-radio.pgn__form-control-valid input {
&:checked {
background-image: url("data:image/svg+xml,")
}
}
-.pgn__form-checkbox-input {
+.pgn__form-checkbox.pgn__form-control-valid input {
&:checked {
background-image: url("data:image/svg+xml,");
}