MDL-53489 quiz editing: fix display of long section headings
authorTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 15 Mar 2016 18:35:35 +0000 (18:35 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 15 Mar 2016 18:35:35 +0000 (18:35 +0000)
mod/quiz/styles.css

index a017909..baf2a70 100644 (file)
@@ -648,6 +648,14 @@ table.quizreviewsummary td.cell {
 #page-mod-quiz-edit .section-heading .sectioninstance {
     position: relative;
 }
+#page-mod-quiz-edit .section-heading .instancesection {
+    white-space: nowrap;
+    max-width: 72%;
+    display: inline-block;
+    text-overflow: ellipsis;
+    overflow: hidden;
+    vertical-align: bottom;
+}
 #page-mod-quiz-edit .section-heading form {
     display: inline;
     position: relative;