From 589112307c261a667b03bfc73223ced24d5a210d Mon Sep 17 00:00:00 2001 From: Syed Muhammad Dawoud Sheraz Ali <40599381+DawoudSheraz@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:13:03 +0500 Subject: [PATCH] fix: dropdown problem rendering issue on light theme (#110) --- .../20241203_174019_dawoud.sheraz_fix_dropdown_rendering.md | 2 ++ .../templates/indigo/lms/static/sass/xblock/_xblock.scss | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 changelog.d/20241203_174019_dawoud.sheraz_fix_dropdown_rendering.md diff --git a/changelog.d/20241203_174019_dawoud.sheraz_fix_dropdown_rendering.md b/changelog.d/20241203_174019_dawoud.sheraz_fix_dropdown_rendering.md new file mode 100644 index 000000000..906eb6e9d --- /dev/null +++ b/changelog.d/20241203_174019_dawoud.sheraz_fix_dropdown_rendering.md @@ -0,0 +1,2 @@ +- [Bugfix] Fix dropdown select rendering issue on light theme (by @dawoudsheraz) + - ".wrapper-problem-response" did not need any dark theme variables outside dark-theme class for dropdown problems. This was causing the dropdown to use dark theme variables regardless of the theme that user selected. diff --git a/tutorindigo/templates/indigo/lms/static/sass/xblock/_xblock.scss b/tutorindigo/templates/indigo/lms/static/sass/xblock/_xblock.scss index 3babf6aba..1ee09ae7d 100644 --- a/tutorindigo/templates/indigo/lms/static/sass/xblock/_xblock.scss +++ b/tutorindigo/templates/indigo/lms/static/sass/xblock/_xblock.scss @@ -266,9 +266,3 @@ } } } -.wrapper-problem-response { - select { - background: transparent; - color: $text-color-d; - } -} \ No newline at end of file