diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 28597f89181..ba27a7f9c45 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -4053,7 +4053,7 @@ EOD; if ($this->should_display_main_logo($headinglevel)) { $sitename = format_string($SITE->fullname, true, array('context' => context_course::instance(SITEID))); return html_writer::div(html_writer::empty_tag('img', [ - 'src' => $this->get_logo_url(null, 150), 'alt' => $sitename]), 'logo'); + 'src' => $this->get_logo_url(null, 150), 'alt' => $sitename, 'class' => 'img-fluid']), 'logo'); } // Make sure to use the heading if it has been set. diff --git a/lib/templates/loginform.mustache b/lib/templates/loginform.mustache index b0cdaa055e4..5f8066697da 100644 --- a/lib/templates/loginform.mustache +++ b/lib/templates/loginform.mustache @@ -99,7 +99,7 @@