Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,18 @@ button.wp-block-navigation-item__content {
display: none;
}

// Override justification dropdown menu positioning rules inside custom overlays.
// Mirrors the protection at lines 674-678 for default overlays, which does not
// apply here. Prevents .items-justified-right descendant rules from cascading
// right: 0 into the overlay and anchoring submenus off the left edge of the viewport.
// See: https://github.com/WordPress/gutenberg/issues/76276
.wp-block-navigation__overlay-container {
display: block;

.wp-block-navigation__submenu-container {
right: auto;
left: 0;
}
}
}
}
Expand Down
Loading