[FIX] mass_mailing: ensure no overflow of empty editor message

The empty editor message was overflowing its container when in a modal,
so a part of it was hidden and there was a scrollbar. This fixes it by
setting its width to the available space.

task-2742664

X-original-commit: 0bbe0a6e108591146d1d8cfb252b31f24fbf8ca5
Part-of: odoo/odoo#86506
This commit is contained in:
Antoine Guenet
2022-03-16 16:07:21 +01:00
parent 9ddc046e24
commit 8fb3cbed2a
@@ -317,6 +317,9 @@ body.editor_enable.o_basic_theme.o_in_iframe {
color: #999999;
margin: 5px;
height: auto;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: stretch;
&:before {
content: attr(data-editor-message);