mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fix sizing of logo in drawer
This commit is contained in:
parent
5ef3ec7aa3
commit
db4a8340d8
1
material/assets/stylesheets/application-368e2db2e3.css
Normal file
1
material/assets/stylesheets/application-368e2db2e3.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -87,6 +87,12 @@
|
||||
// Icon
|
||||
&__icon {
|
||||
@extend %md-icon, %md-icon__button;
|
||||
|
||||
// Stretch image
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Link inside item
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user