From 945ffb2d250394ddcda3735e390f5400491b5e61 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Wed, 13 Oct 2021 12:53:38 +0000 Subject: [PATCH] [FIX] web: avoid bad positioning for BlockUI on mobile On mobile, since the commit [1], the BlockUI is not aligned with the viewport due to its absolute position. This commit restores the previous value ("fixed"). Steps to reproduce: * Open Odoo * Go to Apps * Scroll a bit the page * Install one App => BUG Ref: [1] odoo/odoo@0573acae2306bf5da2005852da9323ddc59e5431 closes odoo/odoo#78344 X-original-commit: 04db62a45f42aba72da7d36b94b3c5d03db37e20 Signed-off-by: Pierre Paridans --- addons/web/static/src/core/ui/block_ui.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/core/ui/block_ui.scss b/addons/web/static/src/core/ui/block_ui.scss index c75a769b306..b4b4f322138 100644 --- a/addons/web/static/src/core/ui/block_ui.scss +++ b/addons/web/static/src/core/ui/block_ui.scss @@ -1,5 +1,5 @@ .o_blockUI { - position: absolute; + position: fixed; top: 0; left: 0; z-index: 1100;