From b834d109356cd29aac9f6d5829263e20cfbd032e Mon Sep 17 00:00:00 2001 From: danghieu1407 Date: Thu, 21 Sep 2023 16:06:06 +0700 Subject: [PATCH] M4.2: StudentQuiz- The position of Navigation buttons #713534 and Change state are displaying incorrect compare to M4.1 --- renderer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer.php b/renderer.php index dbb18143..8fb1e426 100755 --- a/renderer.php +++ b/renderer.php @@ -1354,7 +1354,7 @@ public function render_pagination_bar($pagevars, $baseurl, $totalnumber, $page, 'name' => 'changepagesize', 'value' => 1, ]); - $pagingbaroutput .= \html_writer::div($selectionperpage, 'pull-right form-inline pagination m-t-1'); + $pagingbaroutput .= \html_writer::div($selectionperpage, 'float-right form-inline pagination m-t-1'); } $pagingbaroutput .= $this->output->render($pagingbar); $pagingbaroutput .= html_writer::end_div(); @@ -1796,7 +1796,7 @@ public function render_navigation_bar($hasprevious, $hasnext, $hasanswered) { ]); } - $content1 = html_writer::div(html_writer::div($col1content, 'pull-left'), 'col-md-4'); + $content1 = html_writer::div(html_writer::div($col1content, 'float-left'), 'col-md-4'); // The abort button can always be shown, except when the question has been answered and it is the last question // in the list. @@ -1821,7 +1821,7 @@ public function render_navigation_bar($hasprevious, $hasnext, $hasanswered) { 'class' => 'btn btn-primary' ]); } - $content3 = html_writer::div(html_writer::div($col3content, 'pull-right'), 'col-md-4'); + $content3 = html_writer::div(html_writer::div($col3content, 'float-right'), 'col-md-4'); return html_writer::div($content1 . $content2 . $content3, 'mod-studentquiz-attempt-nav row'); }