From 7f41dd3565540fb39a4ffe125a2642b3048c938c Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Tue, 15 Aug 2023 20:16:47 +0300 Subject: [PATCH] Fix post editor top toolbar with custom fields in Safari (#53688) --- .../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,