summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-22 17:10:32 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-23 11:04:40 +0100
commit070babf7e2c846215d94fcc9609518a01772aa65 (patch)
tree37b584582cd472ababd1ea43e5aa4d8380c9f95a /addons/web/static/src
parenteaa73beaaab3fd09198f915d53902563b73f404d (diff)
[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
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/kanban_view.less4
1 files changed, 3 insertions, 1 deletions
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;
}
}