From 7a7ca7d63180d82b818df111ebf85008bb7b76a1 Mon Sep 17 00:00:00 2001 From: "Cedric Prieels (cpr)" Date: Thu, 21 Apr 2022 09:11:03 +0000 Subject: [PATCH] [FIX] web: fix modal title display when too long MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issues found using a mobile device only. On the planning module, go to the gantt view and select a shift with a long name. The title of the modal that appears will be displayed in three separate lines, and not all the information is visible. This was fixed globally to avoid having the same issues in other modules as well. On the industry fsm module, the worksheet info when signing a document is not correctly structured. task-2755200 closes odoo/odoo#89630 X-original-commit: 297eca04fb85ccf95cd0daab9d7062bf46cd6f04 Related: odoo/enterprise#26588 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/legacy/scss/modal.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/legacy/scss/modal.scss b/addons/web/static/src/legacy/scss/modal.scss index 9ec710d58fc..f1e6d8c1931 100644 --- a/addons/web/static/src/legacy/scss/modal.scss +++ b/addons/web/static/src/legacy/scss/modal.scss @@ -6,7 +6,9 @@ } .modal-header .modal-title { - word-break: break-word; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .modal-body {