Skip to content

Commit

Permalink
Fix navigation justifications. (#36105)
Browse files Browse the repository at this point in the history
* Fix navigation justifications.
  • Loading branch information
jasmussen authored Nov 2, 2021
1 parent 0900c2a commit 02fc532
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@
.wp-block-navigation__container,
.wp-block-navigation__responsive-container-content {
justify-content: center;

// For the overlay.
align-items: center;
}
}

Expand All @@ -361,6 +364,9 @@
.wp-block-navigation__container,
.wp-block-navigation__responsive-container-content {
justify-content: flex-end;

// For the overlay.
align-items: flex-end;
}
}

Expand Down Expand Up @@ -419,6 +425,9 @@

.wp-block-navigation__responsive-container-content {
display: flex;

// Always vertically align to the top.
justify-content: flex-start;
}

// Overlay menu.
Expand Down

0 comments on commit 02fc532

Please sign in to comment.