summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.less
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-07-04 14:16:53 +0200
committerNicolas Lempereur <nle@odoo.com>2017-07-05 11:49:59 +0200
commit4fe4c228f3befeecd5e6735370b547778d11df3c (patch)
treee24ba62c40351b52a4ca908a36f1eb7b7463add1 /addons/web_editor/static/src/less/web_editor.ui.less
parent317ed37aee280a183ffcec23b8c93f64ca488508 (diff)
[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
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.ui.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less
index 4f1eb7dc4be..db1d6a8b2fe 100644
--- a/addons/web_editor/static/src/less/web_editor.ui.less
+++ b/addons/web_editor/static/src/less/web_editor.ui.less
@@ -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%;