Skip to content

Commit

Permalink
Navigation: Try inheriting orientation in setup state.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Jan 31, 2022
1 parent 1000aab commit c38fded
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/block-library/src/navigation/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,15 @@ $color-control-label-height: 20px;
background: none;
min-height: 0;

// Inherit orientation.
&,
.components-placeholder__fieldset,
.wp-block-navigation-placeholder__controls,
.wp-block-navigation-placeholder__preview,
.wp-block-navigation-placeholder__actions {
flex-direction: inherit;
}

// Needed for the preview menu items to match actual menu items.
.components-placeholder__fieldset {
font-size: inherit;
Expand Down Expand Up @@ -284,6 +293,8 @@ $color-control-label-height: 20px;
border-radius: $radius-block-ui;
background-color: $white;
box-shadow: inset 0 0 0 $border-width $gray-900;
flex-direction: row;
align-items: flex-start;
display: none;
position: relative;
z-index: 1;
Expand Down

0 comments on commit c38fded

Please sign in to comment.