From 9167c05cd688bf75d6511a0af663fb2a868ba9d4 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 --- web_responsive/__manifest__.py | 2 +- .../static/src/css/web_responsive.scss | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py index fe0fc8cec..63d29b07c 100644 --- a/web_responsive/__manifest__.py +++ b/web_responsive/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Web Responsive", "summary": "Responsive web client, community-supported", - "version": "13.0.2.6.1", + "version": "13.0.2.6.2", "category": "Website", "website": "https://github.com/OCA/web", "author": "LasLabs, Tecnativa, " "Odoo Community Association (OCA)", 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; + } + } } }