From cab0f46210cd8a68545fb9ad4f32f789f7ca27ab Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 25 Jun 2024 12:55:17 +1000 Subject: [PATCH] Temp hack to push popover into the background --- .../block-editor/src/components/global-styles/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/block-editor/src/components/global-styles/style.scss b/packages/block-editor/src/components/global-styles/style.scss index 25aac20401814..b9a6245dcd432 100644 --- a/packages/block-editor/src/components/global-styles/style.scss +++ b/packages/block-editor/src/components/global-styles/style.scss @@ -199,3 +199,9 @@ width: 0; position: absolute; } + +// Hack to push into background when the media modal is open. +// @TODO how to target the background panel specifically? +.modal-open .components-dropdown__content { + z-index: 100000; +}