MDL-74091 core_question: 'table-responsive' qtable avoids overlap.

This commit is contained in:
Luca Bösch 2022-03-05 14:55:50 +01:00
parent 34ce1463cc
commit 96581087a9
2 changed files with 2 additions and 1 deletions

View File

@ -900,6 +900,7 @@ table.quizreviewsummary td.cell {
table#categoryquestions {
width: 100%;
table-layout: fixed;
overflow-x: visible;
}
#categoryquestions .iconcol {

View File

@ -1103,7 +1103,7 @@ class view {
*/
protected function print_table($questions): void {
// Start of the table.
echo \html_writer::start_tag('table', ['id' => 'categoryquestions']);
echo \html_writer::start_tag('table', ['id' => 'categoryquestions', 'class' => 'table-responsive']);
// Prints the table header.
echo \html_writer::start_tag('thead');