[FIX] web_editor: ensure editor's floating toolbar is visible in modals

Bootstrap sets a z-index of 1050 for modals while the editor's floating
toolbar has no set z-index and is therefore invisible in modals. This
ensures the visibility of the toolbar in bootstrap modals.

closes odoo/odoo#69160

X-original-commit: 9cd4eb6db072fd55d47240260e63fd5923b3bddb
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Antoine Guenet
2021-04-13 10:08:32 +00:00
parent 4a1d776243
commit 500ebb0687
@@ -34,6 +34,7 @@ $o-we-zindex: $o-we-overlay-zindex + 1 !default;
background-color: $o-we-bg;
color: $o-we-color;
font-family: $o-we-font-family;
z-index: 1051; // Bootstrap sets .modal z-index at 1050. Ensure toolbar is visible in modals.
&.noarrow::before {
display: none;