Skip to content

Commit

Permalink
Fixed Videomaker responsive navigation vertical centering layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pbking committed Dec 9, 2021
1 parent 6ae4c69 commit fdd3c44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 3 additions & 6 deletions blockbase/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions blockbase/sass/blocks/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
align-items: flex-start;
margin: 0 auto;
max-width: 800px; // This should match the content width

flex-wrap: nowrap;
.wp-block-navigation-item {
row-gap: 0rem;

Expand All @@ -88,12 +88,8 @@
text-decoration: underline;
}
}
}
.wp-block-navigation__responsive-container-content {
flex-wrap: nowrap;
justify-content: center;

.wp-block-page-list {
.wp-block-navigation__container{
flex-grow: 1;
justify-content: center;
}
}
Expand Down

0 comments on commit fdd3c44

Please sign in to comment.