Skip to content

Commit

Permalink
Tweak the behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Dec 3, 2021
1 parent 5f39286 commit 12205ca
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions packages/block-library/src/navigation/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,14 @@
}

// Show even when a child is selected. This is an edgecase just for navigation submenus.
.is-editing > .wp-block-navigation__submenu-container {
.block-list-appender {
position: static;
margin-left: auto;
.is-editing > .wp-block-navigation__submenu-container > .block-list-appender {
display: block;
position: static;
}

> .block-list-appender__toggle {
display: block;
}
}
// Hide when hovering.
.wp-block-navigation__submenu-container .block-list-appender {
display: none;
}


Expand Down

0 comments on commit 12205ca

Please sign in to comment.