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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user