Skip to content

Commit

Permalink
Videomaker: Update navigation width
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Nov 18, 2021
1 parent 7557739 commit d593630
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions blockbase/sass/blocks/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
.wp-block-navigation-item {
align-items: flex-start;
}

.wp-block-navigation__responsive-container-content .has-child { // Needed for specificity to beat the navigation block CSS
.wp-block-navigation__submenu-container {
font-size: var(--wp--preset--font-size--normal);
Expand Down
4 changes: 3 additions & 1 deletion videomaker/assets/theme.css

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

2 changes: 2 additions & 0 deletions videomaker/sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

.wp-block-navigation__responsive-container-content { // Needed for specificity to beat the navigation block CSS
align-items: flex-start;
margin: 0 auto;
max-width: 800px; // This should match the content width

.wp-block-navigation-item {
row-gap: 0rem;
Expand Down

0 comments on commit d593630

Please sign in to comment.