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

Hide nav titles in collapsible navigation

This commit is contained in:
squidfunk 2016-12-28 16:28:40 +01:00
parent f4c5344116
commit 5e97b74471
2 changed files with 4 additions and 8 deletions

View File

@ -389,13 +389,9 @@
max-height: 100%;
}
// List title
&__title {
// Hide titles for nested navigation
& + .md-nav__list & {
display: none;
}
// Hide titles for nested navigation
&__item--nested > .md-nav > &__title {
display: none;
}
// Link inside item