MDL-85100 question: override visually-hidden grouped element labels.
Since f9abc562 switched the class from `sr-only`, the affected labels
used on the question editing form remained invisible.
This commit is contained in:
@@ -250,15 +250,11 @@ table.question-bank-table {
|
||||
body.path-question-type {
|
||||
/* Hacks to display the labels within a form group. */
|
||||
.fitem .col-form-label.visually-hidden:not(legend):not([for="id_category"], [for="id_filetypeslist"]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
margin: 0 0.5rem 0 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
clip-path: none;
|
||||
border: 0;
|
||||
/* stylelint-disable declaration-no-important */
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
overflow: visible !important;
|
||||
/* stylelint-enable declaration-no-important */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33942,15 +33942,11 @@ body.path-question-type {
|
||||
/* Hacks to display the labels within a form group. */
|
||||
}
|
||||
body.path-question-type .fitem .col-form-label.visually-hidden:not(legend):not([for=id_category], [for=id_filetypeslist]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
margin: 0 0.5rem 0 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
clip-path: none;
|
||||
border: 0;
|
||||
/* stylelint-disable declaration-no-important */
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
overflow: visible !important;
|
||||
/* stylelint-enable declaration-no-important */
|
||||
}
|
||||
|
||||
.que {
|
||||
|
||||
@@ -33942,15 +33942,11 @@ body.path-question-type {
|
||||
/* Hacks to display the labels within a form group. */
|
||||
}
|
||||
body.path-question-type .fitem .col-form-label.visually-hidden:not(legend):not([for=id_category], [for=id_filetypeslist]) {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
margin: 0 0.5rem 0 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
clip-path: none;
|
||||
border: 0;
|
||||
/* stylelint-disable declaration-no-important */
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
overflow: visible !important;
|
||||
/* stylelint-enable declaration-no-important */
|
||||
}
|
||||
|
||||
.que {
|
||||
|
||||
Reference in New Issue
Block a user