[FIX] portal: allow words to be broken in portal messages

Steps to reproduce:
- Create a sale order
- Set a very long message in the chatter
- Clink on the customer preview

Current behavior:
There is a empty space in the top right corner

Expected behavior:
The preview is a usual

Explanation:
The very long word in the chatter created at the
bottom of the page a very long message that increased
the page width, modifying the usual view. To fix that
we allow long words to broken to keep the same width.

opw-2880050

closes odoo/odoo#94802

X-original-commit: 775290e186f5dfdaae8a5b28e9ed20c6b307429e
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Fockedey Martin (mafo) <mafo@odoo.com>
This commit is contained in:
mafo-odoo
2022-06-29 11:11:46 +02:00
parent bccf88ae2d
commit 41cf683f36
@@ -469,6 +469,8 @@ form label {
.o_portal_chatter_messages {
margin-bottom: 15px;
overflow-wrap: break-word;
word-break: break-word;
.o_portal_chatter_message {
div.media-body > p:not(.o_portal_chatter_puslished_date):last-of-type {