Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip793595 - Matrix: OSEP: Fix scrollbars colour #6

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading