From 27c3244116155cef3bb8477bc1e644aecc2c1cb8 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Thu, 14 May 2020 07:13:19 +0000 Subject: [PATCH] [FIX] web: fix kanban tags overflow Issue - Install Contacts - Add a tag on a contact like: "LongTagName_Forcepaymentcomplement" and give it a color - Go back to kanban view - Resize your window With some sizes, the tag gets out of the kanban box Cause The tag is moved under the color ball when it is too long with some resolution But there is others resolutions where the tag is too long even if it is moved to the next line Solution Add word-break: all which will force the tags to break if it is too long. OPW-2251780 closes odoo/odoo#51243 X-original-commit: 2ac6a8f289fd498794a4e5407eace0e0cd18df4c Signed-off-by: Nicolas Lempereur (nle) Signed-off-by: Jason Van Malder (jvm) --- addons/web/static/src/scss/kanban_view.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/scss/kanban_view.scss b/addons/web/static/src/scss/kanban_view.scss index 373cee51516..13e502bb6f6 100644 --- a/addons/web/static/src/scss/kanban_view.scss +++ b/addons/web/static/src/scss/kanban_view.scss @@ -261,6 +261,7 @@ display: block; margin-bottom: $o-kanban-inner-hmargin; line-height: 1.2; + word-break: break-all; .o_tag { display: inline-block;