fix(aio): remove links from sub-menu toggles (#21695)

Navigating to a document while trying to expand or collapse a sub-menu
is undesirable and confusing. All sub-menu toggles should have no other
effect than expanding/collapsing the corresponding sub-menu.

PR Close #21695
This commit is contained in:
George Kalpakas
2018-01-16 12:40:24 +02:00
committed by Miško Hevery
parent 8f6047340e
commit 4f869ff755
4 changed files with 78 additions and 15 deletions

View File

@ -128,6 +128,12 @@ button.vertical-menu-item {
transition-timing-function: ease-out;
}
.no-animations {
.heading-children.expanded, .heading-children.collapsed {
transition: none! important;
}
}
.level-1 {
font-family: $main-font;
font-size: 14px;