From c838b773c3900616ea8678905f2611805ca18afb Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Tue, 15 Aug 2023 19:14:17 +0300 Subject: [PATCH] remove the z-index for non mobile viewports --- .../interface/src/components/interface-skeleton/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/interface/src/components/interface-skeleton/style.scss b/packages/interface/src/components/interface-skeleton/style.scss index a45239b529ddd0..d7ce996226ba59 100644 --- a/packages/interface/src/components/interface-skeleton/style.scss +++ b/packages/interface/src/components/interface-skeleton/style.scss @@ -88,6 +88,12 @@ html.interface-interface-skeleton__html-container { // to "bleed" through the header. // See https://github.com/WordPress/gutenberg/issues/32631 z-index: z-index(".interface-interface-skeleton__content"); + + // On Safari the z-index is not respected when the element is fixed. + // Setting it to auto fixes the problem + @include break-medium() { + z-index: auto; + } } .interface-interface-skeleton__secondary-sidebar,