From 53c37b5d1374b0dceacaaef8d5ce0285b12f8e76 Mon Sep 17 00:00:00 2001 From: Yann Papouin Date: Mon, 8 Feb 2021 14:30:27 +0100 Subject: [PATCH] =?UTF-8?q?[FIX]=20web=5Fresponsive:=20Do=20not=20set=20ov?= =?UTF-8?q?erflow=20property=20on=20inline=20fields=20Co-authored-by:=20Al?= =?UTF-8?q?exandre=20D=C3=ADaz=20=20Ensure?= =?UTF-8?q?=20that=20the=20title=20is=20displayed=20while=20the=20user=20h?= =?UTF-8?q?olds=20the=20mouse=20click=20(while=20selecting=20content)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/src/css/web_responsive.scss | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/web_responsive/static/src/css/web_responsive.scss b/web_responsive/static/src/css/web_responsive.scss index 44af76c42..98a543f31 100644 --- a/web_responsive/static/src/css/web_responsive.scss +++ b/web_responsive/static/src/css/web_responsive.scss @@ -459,14 +459,17 @@ html .o_web_client .o_action_manager .o_action { // Support for long title (with ellipsis) .oe_title { span.o_field_widget { - max-width: 100%; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - width: initial; - } - span:active { - white-space: normal; + &:not(.oe_inline) { + max-width: 100%; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: initial; + + &:active { + white-space: normal; + } + } } }