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:
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" %}
|
{% include "partials/fonts.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<label class="md-nav__title md-nav__title--site" for="drawer">
|
<label class="md-nav__title md-nav__title--site" for="drawer">
|
||||||
<i class="md-icon md-nav__icon">
|
<i class="md-icon md-nav__icon">
|
||||||
{% if config.extra.logo %}
|
{% if config.extra.logo %}
|
||||||
<img src="{{ base_url }}/{{ config.extra.logo }}" width="24" height="24">
|
<img src="{{ base_url }}/{{ config.extra.logo }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
school
|
school
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -87,6 +87,12 @@
|
|||||||
// Icon
|
// Icon
|
||||||
&__icon {
|
&__icon {
|
||||||
@extend %md-icon, %md-icon__button;
|
@extend %md-icon, %md-icon__button;
|
||||||
|
|
||||||
|
// Stretch image
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Link inside item
|
// Link inside item
|
||||||
|
|||||||
@@ -25,8 +25,7 @@
|
|||||||
<label class="md-nav__title md-nav__title--site" for="drawer">
|
<label class="md-nav__title md-nav__title--site" for="drawer">
|
||||||
<i class="md-icon md-nav__icon">
|
<i class="md-icon md-nav__icon">
|
||||||
{% if config.extra.logo %}
|
{% if config.extra.logo %}
|
||||||
<img src="{{ base_url }}/{{ config.extra.logo }}"
|
<img src="{{ base_url }}/{{ config.extra.logo }}" />
|
||||||
width="24" height="24" />
|
|
||||||
{% else %}
|
{% else %}
|
||||||
school
|
school
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user