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

Fixed sidebar disappearing if JavaScript is not available and tabs are enabled

This commit is contained in:
squidfunk 2018-02-22 19:53:44 +01:00
parent 969a0d4bbc
commit 060a5df1f5
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -48,7 +48,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.9d8fef76.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.78aab2dc.css">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.6079476c.css">
{% endif %}

View File

@ -128,6 +128,11 @@
display: none;
}
// Show 1st level navigation always expanded
.no-js & .md-nav {
display: block;
}
// Hide 1st level normal items
& > .md-nav__list > .md-nav__item {
font-size: 0;