mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-72225 question: better specificity targetting form labels.
Since e2150f7d
added `sr-only` text to announce Atto editors on
the page, that content appeared visible on question editing forms.
We only want this content to be visible for form labels.
This commit is contained in:
parent
206023c15f
commit
0bcb4f862a
3 changed files with 3 additions and 3 deletions
|
@ -229,7 +229,7 @@
|
|||
|
||||
body.path-question-type {
|
||||
/* Hacks to display the labels within a form group. */
|
||||
.form-group .sr-only:not(legend):not([for="id_category"]) {
|
||||
.form-group .col-form-label.sr-only:not(legend):not([for="id_category"]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
|
|
@ -15814,7 +15814,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):not([for="id_category"]) {
|
||||
body.path-question-type .form-group .col-form-label.sr-only:not(legend):not([for="id_category"]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
|
|
@ -16041,7 +16041,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):not([for="id_category"]) {
|
||||
body.path-question-type .form-group .col-form-label.sr-only:not(legend):not([for="id_category"]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue