Skip to content

Commit

Permalink
Wip793595 - Matrix: OSEP: Fix scrollbars colour (#6)
Browse files Browse the repository at this point in the history
* Matrix: OSEP: Fix scrollbars colour

* Matrix: Fix code checker errors
  • Loading branch information
AnupamaSarjoshi authored Jun 6, 2024
1 parent 1846e19 commit 12ede74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function matrix_table(question_attempt $qa, question_display_options $opt
$response = $qa->get_last_qt_data();
$caption = $options->add_question_identifier_to_label(get_string('answer'), false, true);

$table = html_writer::start_tag('fieldset', ['class' => 'ablock no-overflow visual-scroll-x']);
$table = html_writer::start_tag('fieldset', ['class' => 'ablock no-overflow']);
$table .= html_writer::tag('legend', $caption, ['class' => 'sr-only']);
$table .= html_writer::start_tag('div', ['class' => 'answer']);

Expand Down
2 changes: 2 additions & 0 deletions tests/questiontype_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ final class questiontype_test extends \advanced_testcase {

#[\Override]
protected function setUp(): void {
parent::setUp();
$this->qtype = new qtype_oumatrix();
}

#[\Override]
protected function tearDown(): void {
$this->qtype = null;
parent::tearDown();
}

public function test_name(): void {
Expand Down

0 comments on commit 12ede74

Please sign in to comment.