Skip to content

Commit 7f84d50

Browse files
committed
[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#94763 X-original-commit: 775290e Signed-off-by: Sébastien Theys (seb) <[email protected]> Signed-off-by: Fockedey Martin (mafo) <[email protected]>
1 parent 33b7e1b commit 7f84d50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/portal/static/src/scss/portal.scss

+2
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ form label {
469469

470470
.o_portal_chatter_messages {
471471
margin-bottom: 15px;
472+
overflow-wrap: break-word;
473+
word-break: break-word;
472474

473475
.o_portal_chatter_message {
474476
div.media-body > p:not(.o_portal_chatter_puslished_date):last-of-type {

0 commit comments

Comments
 (0)