Fixed shrinking arrow in navigation when title is too long

This commit is contained in:
squidfunk 2021-12-12 12:35:32 +01:00
parent 6bace098a5
commit c96ff2278e
6 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.3a200c2c.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.b9368f9d.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">

View File

@ -157,6 +157,11 @@
} }
} }
// Navigation icon
&__icon {
flex-shrink: 0;
}
// Repository information container // Repository information container
&__source { &__source {
display: none; display: none;
@ -296,7 +301,6 @@
// Navigation icon // Navigation icon
.md-nav__icon { .md-nav__icon {
flex-shrink: 0;
width: px2rem(24px); width: px2rem(24px);
height: px2rem(24px); height: px2rem(24px);
margin-right: px2rem(-4px); margin-right: px2rem(-4px);