From dcd5dfd22c2965c6c43c752c31ca2b60d083fad1 Mon Sep 17 00:00:00 2001 From: Thong Bui Date: Mon, 10 May 2021 00:22:22 +0700 Subject: [PATCH] MDL-71060 Questions: Duplicates 'Current category' text. --- theme/boost/scss/moodle/question.scss | 2 +- theme/boost/style/moodle.css | 2 +- theme/classic/style/moodle.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index b648e209a9f..7bcbce7b807 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -229,7 +229,7 @@ body.path-question-type { /* Hacks to display the labels within a form group. */ - .form-group .sr-only:not(legend) { + .form-group .sr-only:not(legend):not([for="id_category"]) { position: static; width: auto; height: auto; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 6cb2c9f447e..7534280b6a2 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -15649,7 +15649,7 @@ a.ygtvspacer:hover { body.path-question-type { /* Hacks to display the labels within a form group. */ } - body.path-question-type .form-group .sr-only:not(legend) { + body.path-question-type .form-group .sr-only:not(legend):not([for="id_category"]) { position: static; width: auto; height: auto; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index d7c7126b0aa..130af1911b8 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -15868,7 +15868,7 @@ a.ygtvspacer:hover { body.path-question-type { /* Hacks to display the labels within a form group. */ } - body.path-question-type .form-group .sr-only:not(legend) { + body.path-question-type .form-group .sr-only:not(legend):not([for="id_category"]) { position: static; width: auto; height: auto;