Skip to content

Commit

Permalink
Navigation Block: Increase importance of submenus staying open. (#30169)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Mar 24, 2021
1 parent 5e8f92d commit 3da717b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-library/src/navigation-link/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
&.is-selected,
&.has-child-selected {
> .wp-block-navigation-link__container {
visibility: visible;
opacity: 1;
// We use important here because if the parent block is selected and submenus are present, they should always be visible.
visibility: visible !important;
opacity: 1 !important;
}
}
}
Expand Down

0 comments on commit 3da717b

Please sign in to comment.