[FIX] mass_mailing,web_editor: content no under sidebar
Depdending on situation several fixes (f885202,fc8e446) leads to issue in small screen size: - in iframe editor with without snippets => the width of the content is decreased of several times the sidebar that is not shown - in editor with sidebar => the content gets behind the sidebar With this changeset we remove part of the above commits which seem to fix both issue. note: this also fixes that the mass mailing content applied CSS should not depend on screen size, or what is send would differ dependin on which screen size clicked on SAVE (on last inlining of CSS). opw-2426400 closes odoo/odoo#66104 X-original-commit: 3e41618240036f1f47bb25b993c46b4d268031d5 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
@@ -199,10 +199,6 @@ body.editor_enable.o_basic_theme.o_in_iframe {
|
||||
|
||||
.oe_structure {
|
||||
width: 100%;
|
||||
@media (max-width: map-get($grid-breakpoints, 'lg')) {
|
||||
width: auto;
|
||||
margin-right: $o-we-sidebar-width;
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
|
||||
@@ -27,8 +27,6 @@ body.editor_enable.editor_has_snippets {
|
||||
// Mobile fix for mass mailing
|
||||
@include media-breakpoint-down(md) {
|
||||
body.editor_enable.editor_has_snippets {
|
||||
padding-right: inherit !important;
|
||||
|
||||
#web_editor-top-edit {
|
||||
position: initial !important;
|
||||
height: initial !important;
|
||||
|
||||
Reference in New Issue
Block a user