From 9420f68282efdcbe4cd9707cfad8761b8c8ff934 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Tue, 22 Nov 2022 11:14:36 +0000 Subject: [PATCH] [FIX] web: misalignment title of dialog on Mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The title is aligned to the right on mobile. This is the result of the two rules of Bootstrap: ```css .modal-header { display: flex; justify-content: space-between; } ``` To avoid this we add `margin-inline: start`, to force start alignment of the title. Steps to reproduce: * Open Customer (on small/mobile screen) * Create a new Customer * Click on Tags field => BUG title of dialog on the right Note: on desktop there is no problem as there is the close button on the right. closes odoo/odoo#109796 X-original-commit: 7809abb1dcf1b0d384c0cad4065cdf15adf56081 Signed-off-by: Adrien Dieudonné (adr) Signed-off-by: Romeo Fragomeli (rfr) --- addons/web/static/src/core/dialog/dialog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/core/dialog/dialog.xml b/addons/web/static/src/core/dialog/dialog.xml index c74315b77d2..4936e28f92c 100644 --- a/addons/web/static/src/core/dialog/dialog.xml +++ b/addons/web/static/src/core/dialog/dialog.xml @@ -40,7 +40,7 @@