summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less/thread.less
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-01-27 12:23:09 +0100
committerChristophe Simonis <chs@odoo.com>2016-01-27 12:23:09 +0100
commit7e44ddcda3f21c7e6401173539dc0fe93f9a7dd2 (patch)
tree322d7f2ce86ce328c27197c5c1b31c9f4a2b2c5c /addons/mail/static/src/less/thread.less
parent3c7b08c030daf84323279b3d87361214e4f1b729 (diff)
parent6f923cbdcdc9a78d1999999b3bbd917eb8b4e921 (diff)
[MERGE] forward port of branch saas-7 up to 6f923cb
Diffstat (limited to 'addons/mail/static/src/less/thread.less')
-rw-r--r--addons/mail/static/src/less/thread.less13
1 files changed, 12 insertions, 1 deletions
diff --git a/addons/mail/static/src/less/thread.less b/addons/mail/static/src/less/thread.less
index f2971dcf17e..be86e577b08 100644
--- a/addons/mail/static/src/less/thread.less
+++ b/addons/mail/static/src/less/thread.less
@@ -97,6 +97,9 @@
.o_thread_message_core {
.o-flex(1, 1, auto);
+ min-width: 0;
+ max-width: 100%;
+ word-wrap: break-word;
&.o_mail_note {
background-color: @gray-lighter;
@@ -111,12 +114,20 @@
color: gray;
}
- > p {
+ [summary~=o_mail_notification] { // name conflicts with channel notifications, but is odoo notification buttons to hide in chatter if present
+ display: none;
+ }
+
+ p {
margin: 0 0 9px; // Required by the old design to override a general rule on p's
&:last-child {
margin-bottom: 0;
}
}
+ a {
+ display: inline-block;
+ word-break: break-all;
+ }
.o_mail_body_long {
display: none;