[FIX] web_editor: style if website not installed

web_editor can be installed without website, thus missing needed CSS
causing e.g the widget sidebar to overlay and hide the mass mailing
content if website is not installed.

This fix implement a simple middle ugly solutions, but doing something
more in stable would be an hassle (for example in 88c2b684 the #wrapwrap
CSS is included in report module).

opw-748975
closes #18005
This commit is contained in:
Nicolas Lempereur
2017-07-05 11:49:59 +02:00
parent 317ed37aee
commit 4fe4c228f3
@@ -1075,8 +1075,15 @@ body.editor_enable {
background-color: @odoo-brand-secondary;
#wrapwrap {
position: relative;
display: table;
table-layout: fixed;
width: 100%;
height: 100%;
> * {
display: table-row;
}
> main {
height: 100%;