MDL-86558 mod_quiz: Fix styles for sticky columns

Also remove the duplicate '.table' class applied on the table.
This commit is contained in:
Rajneel Totaram
2025-09-09 11:50:22 +12:00
parent 70de23e219
commit b7ade6be49
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ class quiz_overview_report extends attempts_report {
}
$this->set_up_table_columns($table, $columns, $headers, $this->get_base_url(), $options, false);
$table->set_attribute('class', 'table generaltable generalbox grades');
$table->set_attribute('class', 'generaltable generalbox grades');
$table->out($options->pagesize, true);
+6
View File
@@ -306,6 +306,12 @@ body.path-mod-quiz table tbody tr.gradedattempt > td.sticky-column {
background-color: #d9edf7;
}
body.path-mod-quiz table tbody tr > td.sticky-column,
body.path-mod-quiz table thead tr > th.sticky-column,
body.path-mod-quiz table tbody tr:not(.gradedattempt):hover td.sticky-column {
background-color: #fff;
}
/** Mod quiz summary **/
#page-mod-quiz-summary #content {
text-align: center;