From 070babf7e2c846215d94fcc9609518a01772aa65 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 22 Jan 2018 17:10:32 +0100 Subject: [PATCH] [FIX] web: css long word breaking out kanban tile When words are too long this may break out of a kanban tile and getting everywhere. This is not wanted and the content should be: - hidden if overflown or - long words should be wrapped or - too long content should be ellipsed The ellipsis is probably the best but this would affect the current behavior (we would have to specify a max-height which unexpectedly may be bothersome to currently existing data). So breaking long words has been choosen in this change. opw-806278 closes #22435 --- addons/web/static/src/less/kanban_view.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/less/kanban_view.less b/addons/web/static/src/less/kanban_view.less index d95a518fdda..153f6997d4d 100644 --- a/addons/web/static/src/less/kanban_view.less +++ b/addons/web/static/src/less/kanban_view.less @@ -208,7 +208,9 @@ .o_kanban_record_headings { line-height: 1.2; .o-flex(1, 1, auto); - + // Ensure long word doesn't break out of container + word-wrap: break-word; + overflow: hidden; } }