From efe1312535b3af20c81cfd6cb10cbf3e7e5f8f90 Mon Sep 17 00:00:00 2001
From: "Achraf (abz)" <abz@odoo.com>
Date: Thu, 6 Jan 2022 07:15:19 +0000
Subject: [PATCH] [FIX] web: Add word-break to kanban_content

When we create a record with a very long continuous title (without spaces) the string comes out of the kanban block.
Reproducible on several applications such as Notes, CRM, etc.

opw-2680915

closes odoo/odoo#82306

Signed-off-by: Samuel Degueldre <sad@odoo.com>
---
 addons/web/static/src/scss/kanban_view.scss | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/addons/web/static/src/scss/kanban_view.scss b/addons/web/static/src/scss/kanban_view.scss
index ee7f3f2aa05c..baae3cc1ebe7 100644
--- a/addons/web/static/src/scss/kanban_view.scss
+++ b/addons/web/static/src/scss/kanban_view.scss
@@ -219,6 +219,10 @@
                 }
             }
         }
+
+        .oe_kanban_content {
+            overflow-wrap: break-word;
+        }
     }
 
     // -------  Compatibility of old (<= v10) Generic layouts -------
-- 
GitLab