Skip to content

Commit c96ff22

Browse files
committed
Fixed shrinking arrow in navigation when title is too long
1 parent 6bace09 commit c96ff22

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

material/assets/stylesheets/main.3a200c2c.min.css

-1
This file was deleted.

material/assets/stylesheets/main.3a200c2c.min.css.map

-1
This file was deleted.

material/assets/stylesheets/main.b9368f9d.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.b9368f9d.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{% endif %}
3535
{% endblock %}
3636
{% block styles %}
37-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.3a200c2c.min.css' | url }}">
37+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.b9368f9d.min.css' | url }}">
3838
{% if config.theme.palette %}
3939
{% set palette = config.theme.palette %}
4040
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">

src/assets/stylesheets/main/layout/_nav.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@
157157
}
158158
}
159159

160+
// Navigation icon
161+
&__icon {
162+
flex-shrink: 0;
163+
}
164+
160165
// Repository information container
161166
&__source {
162167
display: none;
@@ -296,7 +301,6 @@
296301

297302
// Navigation icon
298303
.md-nav__icon {
299-
flex-shrink: 0;
300304
width: px2rem(24px);
301305
height: px2rem(24px);
302306
margin-right: px2rem(-4px);

0 commit comments

Comments
 (0)