Skip to content

Commit 35f015b

Browse files
MDL-79796 quiz: Preview icon should be visible in question bank pop-up
1 parent a585bda commit 35f015b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

mod/quiz/styles.css

+8-1
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ table.quizreviewsummary td.cell {
838838
}
839839

840840
#page-mod-quiz-edit .question-bank-table {
841-
width: auto;
841+
width: 100%;
842842
}
843843

844844
#page-mod-quiz-edit .question-bank-table .header {
@@ -912,6 +912,7 @@ table.quizreviewsummary td.cell {
912912

913913
#page-mod-quiz-edit .question-bank-table .questionnametext {
914914
padding: 0 0.2em;
915+
width: 100% !important; /* stylelint-disable-line declaration-no-important */
915916
}
916917

917918
#page-mod-quiz-edit .question-bank-table .questiontext {
@@ -938,6 +939,12 @@ table.quizreviewsummary td.cell {
938939
#page-mod-quiz-edit table.question-bank-table th {
939940
overflow: hidden;
940941
white-space: nowrap;
942+
width: 1.2em !important; /* stylelint-disable-line declaration-no-important */
943+
}
944+
945+
#page-mod-quiz-edit table.question-bank-table td.questionnametext > div {
946+
overflow: hidden;
947+
text-overflow: ellipsis;
941948
}
942949

943950
.mod_quiz_qbank_dialogue {

0 commit comments

Comments
 (0)