From 6bd14cd39a4c999b6f2d865bee91a0b42d1ae1af Mon Sep 17 00:00:00 2001 From: amdi-odoo Date: Mon, 3 Apr 2023 09:57:44 +0000 Subject: [PATCH] [FIX] web: fix phone field button text alignment Fix the phone field buttons text alignment ("Call", "SMS", ...) which is currently rendering the letters on different lines because of a text-break css class introduced by: odoo/odoo#114442 Override this text-break class for the phone field buttons links. Task-3258943 closes odoo/odoo#118109 X-original-commit: 012f97b7e6811bfa4804ba49696811f7f6b98582 Signed-off-by: Thibault Delavallee (tde) --- addons/web/static/src/views/fields/phone/phone_field.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/web/static/src/views/fields/phone/phone_field.scss b/addons/web/static/src/views/fields/phone/phone_field.scss index 2c8e853964a..e1fd9385d5e 100644 --- a/addons/web/static/src/views/fields/phone/phone_field.scss +++ b/addons/web/static/src/views/fields/phone/phone_field.scss @@ -5,3 +5,8 @@ body:not(.o_touch_device) .o_field_phone { } } } + +.o_phone_content small { + overflow-wrap: normal; + word-break: normal; +}