mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed sidebar disappearing if JavaScript is not available and tabs are enabled
This commit is contained in:
parent
969a0d4bbc
commit
060a5df1f5
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.6079476c.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.6079476c.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -128,6 +128,11 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show 1st level navigation always expanded
|
||||||
|
.no-js & .md-nav {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
// Hide 1st level normal items
|
// Hide 1st level normal items
|
||||||
& > .md-nav__list > .md-nav__item {
|
& > .md-nav__list > .md-nav__item {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user