Navigation: Hide the children of the expanded items when the navbar collapsed

This commit is contained in:
Sercan Yemen 2018-02-08 11:06:23 +03:00
parent 43b85ca3b6
commit e55a385858

View File

@ -1,6 +1,7 @@
:host {
.folded:not(.folded-open) & {
.nav-link {
> span {
@ -8,6 +9,13 @@
transition: opacity 200ms ease;
}
}
&.open {
.children {
display: none !important;
}
}
}
.nav-link {