diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index b83859964f4..f23508d047c 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -1490,7 +1490,9 @@ body.editor_enable.editor_has_snippets { position: relative; z-index: $o-we-overlay-zindex; width: 100%; + min-width: $o-we-dropzone-size; height: $o-we-dropzone-size; + min-height: $o-we-dropzone-size; margin: (-$o-we-dropzone-size/2) 0; border: 2px dashed $o-we-border-color; diff --git a/addons/website/static/src/js/editor/mega_menu.js b/addons/website/static/src/js/editor/mega_menu.js index a830ea2c0de..4064c4341b3 100644 --- a/addons/website/static/src/js/editor/mega_menu.js +++ b/addons/website/static/src/js/editor/mega_menu.js @@ -58,6 +58,12 @@ Wysiwyg.include({ }); }); + // TODO remove this code in master by migrating users who did not + // receive the XML change about the 'oe_structure_solo' class (the + // header original XML is now correct but we changed specs after + // release to not allow multi snippets drop zones in the header). + $('header#top').find('.oe_structure[id*="oe_structure"]:not(.oe_structure_multi)') // oe_structure_multi to ease custo in stable + .addClass('oe_structure_solo'); } }); diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 2b1849f3374..66e7e30575f 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -262,7 +262,7 @@ -
+
@@ -270,7 +270,7 @@