summaryrefslogtreecommitdiff
path: root/addons/mail/static
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2021-01-21 15:23:12 +0000
committerAlexandre Kühn <aku@odoo.com>2021-01-21 15:23:15 +0000
commitcf03fbd51df53c128f98e1f9ad208628a7b52963 (patch)
treea61b05ae2c80ad292f3d8ca84ae1970324b90387 /addons/mail/static
parent61b0a859b76ebffe083e10b25e4af52702dfb61f (diff)
[FIX] mail: reduce spacing between messages
Task-2444878 closes odoo/odoo#64857 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static')
-rw-r--r--addons/mail/static/src/components/message/message.scss23
1 files changed, 13 insertions, 10 deletions
diff --git a/addons/mail/static/src/components/message/message.scss b/addons/mail/static/src/components/message/message.scss
index c131fe24aba..729c7778ed5 100644
--- a/addons/mail/static/src/components/message/message.scss
+++ b/addons/mail/static/src/components/message/message.scss
@@ -44,17 +44,12 @@
.o_Message_content {
word-wrap: break-word;
word-break: break-word;
- // Message content can contain arbitrary HTML that might overflow and break
- // the style without this rule.
- overflow: auto;
- > pre {
- white-space: pre-wrap;
- word-break: break-word;
- }
-
- > p:last-of-type {
- margin-bottom: 0;
+ * {
+ // Message content can contain arbitrary HTML that might overflow and break
+ // the style without this rule.
+ max-width: 100%;
+ overflow: auto;
}
img {
@@ -132,6 +127,14 @@
justify-content: center;
}
+.o_Message_prettyBody {
+
+ > p:last-of-type {
+ margin-bottom: 0;
+ }
+
+}
+
.o_Message_readMoreLess {
display: block;
}