MDL-20609 quiz tables: improve layout for long cell contents.
By allowing more wrapping.
This commit is contained in:
@@ -66,7 +66,7 @@ class quiz_statistics_question_table extends flexible_table {
|
||||
|
||||
$this->define_baseurl($reporturl->out());
|
||||
$this->collapsible(false);
|
||||
$this->set_attribute('class', 'generaltable generalbox boxaligncenter');
|
||||
$this->set_attribute('class', 'generaltable generalbox boxaligncenter quizresponseanalysis');
|
||||
|
||||
// Define the table columns.
|
||||
$columns = array();
|
||||
|
||||
@@ -416,6 +416,14 @@ table.quizreviewsummary td.cell {
|
||||
#page-mod-quiz-report fieldset.felement.fgroup {
|
||||
margin: 0;
|
||||
}
|
||||
#page-mod-quiz-report table th {
|
||||
white-space: normal;
|
||||
}
|
||||
#page-mod-quiz-report table#attempts td,
|
||||
#page-mod-quiz-report table.quizresponseanalysis td {
|
||||
word-wrap: break-word;
|
||||
max-width: 20em;
|
||||
}
|
||||
#page-mod-quiz-report table.titlesleft td.c0 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user