[IMP] note: display long title properly on kanban view

Currently in kanban view of the notes, if there is long content without space
(for example a very long URL), the content goes out of the kanban card.

This commit improves the behavior by breaking such content into multiple
lines and thus displaying full title on the kanban card.

taskID-2754915

closes odoo/odoo#84607

Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
Umesh Gupta
2022-02-25 10:25:36 +00:00
committed by Dharmraj Jhala
parent 6d33510beb
commit 3af3abfe4d
+1 -1
View File
@@ -117,7 +117,7 @@
</a>
</span>
<span t-attf-class="oe_kanban_content flex-grow-1 #{record.open.raw_value ? '' : 'note_text_line_through'}">
<span t-attf-class="oe_kanban_content flex-grow-1 text-break #{record.open.raw_value ? '' : 'note_text_line_through'}">
<!-- title -->
<field name="name"/>
</span>