diff --git a/packages/block-library/src/navigation/style.scss b/packages/block-library/src/navigation/style.scss index 9c7211d585c2f3..a14bc03f0afde5 100644 --- a/packages/block-library/src/navigation/style.scss +++ b/packages/block-library/src/navigation/style.scss @@ -675,6 +675,16 @@ button.wp-block-navigation-item__content { position: relative; } +// Adjust dialog top margin when admin-bar is visible. +.admin-bar .wp-block-navigation__responsive-dialog { + margin-top: $admin-bar-height-big; + + // Handle smaller admin-bar. + @include break-medium() { + margin-top: $admin-bar-height; + } +} + // Prevent scrolling of the parent content when the modal is open. html.has-modal-open { overflow: hidden;