Fix sizing of logo in drawer

This commit is contained in:
squidfunk 2016-12-29 15:03:18 +01:00
parent 5ef3ec7aa3
commit db4a8340d8
6 changed files with 10 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -36,7 +36,7 @@
{% include "partials/fonts.html" %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-aa20c49e63.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-368e2db2e3.css">
{% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %}

View File

@ -2,7 +2,7 @@
<label class="md-nav__title md-nav__title--site" for="drawer">
<i class="md-icon md-nav__icon">
{% if config.extra.logo %}
<img src="{{ base_url }}/{{ config.extra.logo }}" width="24" height="24">
<img src="{{ base_url }}/{{ config.extra.logo }}">
{% else %}
school
{% endif %}

View File

@ -87,6 +87,12 @@
// Icon
&__icon {
@extend %md-icon, %md-icon__button;
// Stretch image
img {
width: 100%;
height: auto;
}
}
// Link inside item

View File

@ -25,8 +25,7 @@
<label class="md-nav__title md-nav__title--site" for="drawer">
<i class="md-icon md-nav__icon">
{% if config.extra.logo %}
<img src="{{ base_url }}/{{ config.extra.logo }}"
width="24" height="24" />
<img src="{{ base_url }}/{{ config.extra.logo }}" />
{% else %}
school
{% endif %}