From ab5ba554b065d70e0b34acae8599af3fcc29d70c Mon Sep 17 00:00:00 2001 From: "Hamza (hisl)" Date: Mon, 24 Apr 2023 14:04:18 +0000 Subject: [PATCH] [FIX] web : change the white space of button-box to nowrap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce the issue: 1. Go to any of the contacts with partner ledger option. 2. Make the browser window small and observe the text in the partner ledger button box. Current Behaviour: The text in the button box does not get ellipsized, rather stays the same and may get out of the button box if the box becomes smaller Desired Behaviour: The text in the button should be ellipsized OPW-3266235 closes odoo/odoo#121167 X-original-commit: ec642f9caba7c6a7a21d9e65ffa0e305ff06678d Related: odoo/enterprise#40948 Signed-off-by: Adrien Dieudonné (adr) Signed-off-by: Pierre Paridans (app) --- addons/web/static/src/views/form/button_box/button_box.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/web/static/src/views/form/button_box/button_box.scss b/addons/web/static/src/views/form/button_box/button_box.scss index 0b0a692da8d..a088eff72d5 100644 --- a/addons/web/static/src/views/form/button_box/button_box.scss +++ b/addons/web/static/src/views/form/button_box/button_box.scss @@ -54,7 +54,6 @@ // Some buttons only display text without using StatInfo template > span { @include o-text-overflow(block); - white-space: normal; // text on several lines if needed } .o_stat_info, > span, .o_field_statinfo {