summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/message/message.scss
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2021-01-26 15:07:17 +0000
committerAlexandre Kühn <aku@odoo.com>2021-01-27 09:45:34 +0000
commitefafef714ad2836f6c1072d3ac1aa43097fc97fa (patch)
tree6b690022d852125401e3f4bdfb0b94457558a8f0 /addons/mail/static/src/components/message/message.scss
parent40d3ac251ee255d7f79f70cb96cd9fb914631fb8 (diff)
[FIX] mail: show bullet style of li in message content
Task-2447922 closes odoo/odoo#65071 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/message/message.scss')
-rw-r--r--addons/mail/static/src/components/message/message.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/addons/mail/static/src/components/message/message.scss b/addons/mail/static/src/components/message/message.scss
index 729c7778ed5..16d9c7902a0 100644
--- a/addons/mail/static/src/components/message/message.scss
+++ b/addons/mail/static/src/components/message/message.scss
@@ -45,11 +45,15 @@
word-wrap: break-word;
word-break: break-word;
- * {
+ *:not(li):not(li div) {
// Message content can contain arbitrary HTML that might overflow and break
// the style without this rule.
+ // Lists are ignored because otherwise bullet style become hidden from overflow.
+ // It's acceptable not to manage overflow of these tags for the moment.
+ // It also excludes all div in li because 1st leaf and div child of list overflow
+ // may impact the bullet point (at least it does on Safari).
max-width: 100%;
- overflow: auto;
+ overflow-x: auto;
}
img {