Skip to content

Commit

Permalink
ナビゲーションメニューのトグルボタンがカラム落ちすることがある不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Oct 8, 2024
1 parent a2d260c commit a2074ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/css/wp-blocks/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
// Menu & Submenu labels.
.wp-block-navigation-item__content:not(.wp-block-navigation__submenu-icon) {
flex-grow: 1;
flex-basis: 50%;
flex-basis: 0%;
}

// Toggle icons
Expand Down Expand Up @@ -183,7 +183,6 @@
> :where(.wp-block-page-list) > :where(.wp-block-pages-list__item),
> :where(.wp-block-navigation-item) {
> .wp-block-navigation-item__content:not(.wp-block-navigation__submenu-icon):not(:root) {
flex-grow: 1;
padding: var(--unitone--navigation-item--padding);
}
}
Expand Down

0 comments on commit a2074ed

Please sign in to comment.