Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and vcanales committed Jan 15, 2022
1 parent 3433e77 commit 114ddb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ function Navigation( {
<InspectorControls>
{ hasSubmenuIndicatorSetting && (
<PanelBody title={ __( 'Display' ) }>
<h3>{ __( 'Overlay Menu' ) }</h3>
{ isResponsive && (
<Button
className={ overlayMenuPreviewClasses }
Expand Down Expand Up @@ -531,6 +530,7 @@ function Navigation( {
checked={ useIcon }
/>
) }
<h3>{ __( 'Overlay Menu' ) }</h3>
<ToggleGroupControl
label={ __( 'Configure overlay menu' ) }
value={ overlayMenu }
Expand Down
10 changes: 7 additions & 3 deletions packages/block-library/src/navigation/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,14 @@ body.editor-styles-wrapper
display: flex;
align-items: center;
width: 100%;
background-color: $gray-200;
padding: 3rem 2rem;
margin-bottom: 1rem;
background-color: $gray-100;
padding: 0 $grid-unit-30;
height: $grid-unit-40 * 2;
margin-bottom: $grid-unit-15;

&.open {
box-shadow: inset 0 0 0 $border-width $gray-200;
outline: 1px solid transparent; // Box shadow is removed in high contrast mode, a transparent outline is made opaque.
background-color: $white;
}
}

0 comments on commit 114ddb1

Please sign in to comment.