From 9239ec7de85e928bce86303d30fdab00ae90aa41 Mon Sep 17 00:00:00 2001 From: Pratima Gupta Date: Mon, 5 Mar 2018 16:48:16 +0530 Subject: [PATCH] [FIX] web_editor: set correct zindex on translation navbar Commit c06f0f3a352 changed the base navbar zindex. But the navbar of the translation mode still had old zindex values making the navbar invisible, in fact under the base navbar. task-1804662 --- addons/web_editor/static/src/less/web_editor.ui.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less index 75cac40d823..e86279a8034 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -4,7 +4,7 @@ .o-position-absolute(0, 0, auto, 0); position: fixed; height: @odoo-navbar-height; - z-index: 1003; + z-index: @zindex-modal - 9; background-color: rgba(0,0,0,0); .o-transition(background-color, 400ms, @o-we-md-ease); @@ -93,7 +93,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { .o-position-absolute(0, auto, 0, -@o-we-sidebar-width); position: fixed; width: @o-we-sidebar-width; - z-index: 1003; + z-index: @zindex-modal - 9; font-family: Roboto, @font-family-sans-serif; border-right: 1px solid @o-we-color-divider;