From 0511b9af838e9cff83e00a6267054b711a3c85c4 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 13 Jul 2015 09:24:54 +0200 Subject: [PATCH] [FIX] web: m2m tags overflow when too much tags If too many tags (or too long tags) where present in a many2many tags widgets, it could go over the field and cover other thing in the UI. Now the field size expands with the content (and in a way it is more visually similar before and after 'Edit' so it is nice). closes #7579 opw-644236 --- addons/web/static/src/css/base.css | 1 + addons/web/static/src/css/base.sass | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 5f3c1c218d2..e5b1e91fee3 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -605,6 +605,7 @@ } .openerp .oe_tags .text-wrap { width: 100% !important; + position: static; } .openerp .oe_tags .text-wrap textarea { width: 100% !important; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 1f6ac7d1046..7e60a58f198 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -548,6 +548,7 @@ $sheet-padding: 16px min-width: 250px .text-wrap width: 100% !important + position: static textarea width: 100% !important .text-core