[FIX] mail: show bullet style of li in message content
Task-2447922 closes odoo/odoo#65126 X-original-commit: efafef714ad2836f6c1072d3ac1aa43097fc97fa Signed-off-by: Sébastien Theys (seb) <seb@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user