From 5aa9278b58a01e1119ae566c2340062f46a37c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=ADaz?= Date: Wed, 12 Jun 2019 00:50:17 +0200 Subject: [PATCH] [IMP] web_responsive: Support long title in form view --- web_responsive/static/src/css/web_responsive.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web_responsive/static/src/css/web_responsive.scss b/web_responsive/static/src/css/web_responsive.scss index 66194eb3..22082126 100644 --- a/web_responsive/static/src/css/web_responsive.scss +++ b/web_responsive/static/src/css/web_responsive.scss @@ -365,9 +365,20 @@ html .o_web_client .o_main .o_main_content { z-index: 1; } + // Support for long title (with ellipsis) .oe_title { - max-width: 100%; width: initial; + + >h1>span { + max-width: 100%; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: initial; + } + >h1>span:active { + white-space: normal; + } } @include media-breakpoint-down(sm) {