1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-13 18:40:54 +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,14 +389,10 @@
max-height: 100%; max-height: 100%;
} }
// List title
&__title {
// Hide titles for nested navigation // Hide titles for nested navigation
& + .md-nav__list & { &__item--nested > .md-nav > &__title {
display: none; display: none;
} }
}
// Link inside item // Link inside item
&__link { &__link {