Skip to content

Commit

Permalink
fixes #56 (for good this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Feb 1, 2015
1 parent 731a355 commit 77c68a7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 4 additions & 0 deletions assets/less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,7 @@ textarea[rows="12"] { height: 24em; }
.btn-primary;
width: auto;
}

.navbar-brand > img {
max-height: 100%;
}
4 changes: 2 additions & 2 deletions views/nav.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<a id="menu-left-close" href="#" class="btn btn-links btn-lg toggle"><i class="el-icon-caret-right"></i></a>
{% endif %}

<div class="sidebar-header">{% include 'navbar-brand.twig' %}</div>
<div class="sidebar-header">{% include 'site-logo.twig' %}</div>

{% include 'navbar-search.twig' %}

Expand Down Expand Up @@ -108,7 +108,7 @@

{{ '<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-main, .nav-extras"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>'|apply_filters( 'maera/header/toggler' ) }}

{% include 'navbar-brand.twig' %}
{% include 'site-logo.twig' %}

</div>

Expand Down
7 changes: 0 additions & 7 deletions views/navbar-brand.twig

This file was deleted.

2 changes: 1 addition & 1 deletion views/site-logo.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="{{ site.url }}" class="site-name-logo">
<a href="{{ site.url }}" class="site-name-logo navbar-brand">
{% if site_logo %}
<img id="brand-logo" src="{{ TimberImage(site_logo.id).src }}" alt="{{ site.name }}">
{% else %}
Expand Down

0 comments on commit 77c68a7

Please sign in to comment.