From b58606f7051af808a0cd49b4dbbc7ca421fd37f5 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Fri, 22 Jul 2022 12:11:10 +0000 Subject: [PATCH] [FIX] web_editor: ensure the Powerbox displays above a modal The upgrade from Bootstrap 4 to 5 broke the display of the Powerbox when the editor is in a modal. This adapts the Powerbox's z-index to make sure it always displays above a modal. task-2901697 Part-of: odoo/odoo#96287 --- .../web_editor/static/src/js/editor/odoo-editor/src/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/style.scss b/addons/web_editor/static/src/js/editor/odoo-editor/src/style.scss index d9d4406fa6d..c396993024f 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/style.scss +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/style.scss @@ -191,7 +191,7 @@ .oe-powerbox-wrapper { position: absolute; - z-index: 1051; + z-index: $zindex-modal; border: black; background-color: white; max-height: 40vh;