1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Fixed navigation disappearing on screen after switching viewports

This commit is contained in:
squidfunk 2020-04-29 09:32:23 +02:00
parent 2b6359c5fe
commit d3452aff21
6 changed files with 9 additions and 6 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.8caa27b7.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.37585f48.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.37585f48.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.2f8b47de.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.2f8b47de.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.ff613c55.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.ff613c55.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.85bb4ebe.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.85bb4ebe.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2f8b47de.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.ff613c55.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.85bb4ebe.min.css' | url }}">
{% endif %}

View File

@ -164,6 +164,9 @@
// Always expand nested navigation on 2nd level
.md-nav[data-md-level="1"] {
// Hack: Always show active navigation tab on breakpoint screen, despite
// of checkbox being checked or not. Fixes #1655.
display: block;
// Remove spacing on 2nd level items
> .md-nav__list > .md-nav__item {