Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Nov 15, 2021
1 parent 0912320 commit 6b4ec54
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 @@ -358,7 +358,6 @@ function Navigation( {
<InspectorControls>
{ hasSubmenuIndicatorSetting && (
<PanelBody title={ __( 'Display' ) }>
<h3>{ __( 'Overlay Menu' ) }</h3>
{ isResponsive && (
<Button
className={ overlayMenuPreviewClasses }
Expand Down Expand Up @@ -386,6 +385,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 @@ -575,10 +575,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 6b4ec54

Please sign in to comment.