Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Try only child.
  • Loading branch information
jasmussen committed Nov 17, 2021
commit 6aeb8cff1bb9dd5e1315aada1f03cafe5c3a43b6
10 changes: 4 additions & 6 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,10 @@
}
}

// Allow the container to grow when space-between is applied.
.items-justified-space-between {
.wp-block-navigation__container,
.wp-block-page-list {
flex-grow: 1;
}
// Allow menu items to be spaced out by space-between when only navigation links are present.
.wp-block-navigation__container:only-child,
.wp-block-page-list:only-child {
flex-grow: 1;
}


Expand Down