Skip to content

Commit

Permalink
Merge branch 'MDL-65144-35' of git://github.com/damyon/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_35_STABLE
  • Loading branch information
abgreeve committed Apr 2, 2019
2 parents e9c0b71 + 61adf3b commit 80c1b6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion theme/boost/classes/output/core_renderer.php
Expand Up @@ -132,7 +132,7 @@ public function context_header($headerinfo = null, $headinglevel = 1) {
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');
}

return parent::context_header($headerinfo, $headinglevel);
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/templates/core/loginform.mustache
Expand Up @@ -99,7 +99,7 @@
<div class="card">
<div class="card-block">
{{#logourl}}
<h2 class="card-header text-center" ><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
<h2 class="card-header text-center" ><img src="{{logourl}}" class="img-fluid" title="{{sitename}}" alt="{{sitename}}"/></h2>
{{/logourl}}
{{^logourl}}
<h2 class="card-header text-center">{{sitename}}</h2>
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/templates/core/signup_form_layout.mustache
Expand Up @@ -15,7 +15,7 @@
<div class="card-body">
<div class="card-title text-xs-center">
{{#logourl}}
<h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
<h2><img src="{{logourl}}" class="img-fluid" title="{{sitename}}" alt="{{sitename}}"/></h2>
{{/logourl}}
{{^logourl}}
<h2>{{sitename}}</h2>
Expand Down
1 change: 1 addition & 0 deletions theme/clean/style/custom.css
Expand Up @@ -2,6 +2,7 @@
-------------------------*/
div.logo {
background: url([[setting:logo]]) 0 0 no-repeat;
background-size: contain;
display: block;
float: left;
height: 75px;
Expand Down

0 comments on commit 80c1b6b

Please sign in to comment.