In olden tymes, the Drupal 8 version of menu_block was missing some critical functionality for making sidebar/section navigations/menus show and hide items properly.
We have styles in cwd_base to deal with these limitations. Recently, these workarounds actually caused some trouble (LASSP faculty labs), and we had to override the cwd_base workaround styles, in order to show an entire menu tree in the sidebar.
Since then, menu_block has become good. Let's remove the workarounds!
Notes:
- We don't promise backwards compatibility with cwd_base, but it'll be simple enough for us to include instructions in the next cwd_base release notes for existing sites that wish to update to the latest version, so let's do that.
- Anything we should worry/think about re: these other two menu issues...?
To do:
/* section navigation menu */
.secondary-navigation.drupal-section-navigation .menu-item {
display: none;
}
.secondary .menu-block-title + .secondary-navigation.drupal-section-navigation .menu-item,
.secondary-navigation.drupal-section-navigation .menu-item--active-trail,
.secondary-navigation.drupal-section-navigation .menu-item--active-trail .menu-item {
display: block;
}
In olden tymes, the Drupal 8 version of menu_block was missing some critical functionality for making sidebar/section navigations/menus show and hide items properly.
We have styles in cwd_base to deal with these limitations. Recently, these workarounds actually caused some trouble (LASSP faculty labs), and we had to override the cwd_base workaround styles, in order to show an entire menu tree in the sidebar.
Since then, menu_block has become good. Let's remove the workarounds!
Notes:
To do:
drupal.scss, line 344-350):