diff options
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/snippets.editor.js | 2 | ||||
| -rw-r--r-- | addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 4 | ||||
| -rw-r--r-- | addons/web_editor/static/src/xml/snippets.xml | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index 57ab6c37b73..7fc439e88a2 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -96,7 +96,7 @@ var SnippetEditor = Widget.extend({ }, }); } else { - this.$('.o_move_handle').addClass('d-none'); + this.$('.o_overlay_move_options').addClass('d-none'); $customize.find('.oe_snippet_clone').addClass('d-none'); } diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index b8e87ff69f5..c6d1e8fa394 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -837,7 +837,7 @@ body.editor_enable.editor_has_snippets { } } - > .o_overlay_options { + > .o_overlay_move_options { @include o-position-absolute($o-we-handles-offset-to-hide, $left: 50%); transform: translate(-50%, -110%); display: flex; @@ -928,7 +928,7 @@ body.editor_enable.editor_has_snippets { } } - .o_overlay_options { + .o_overlay_move_options { display: none; } } diff --git a/addons/web_editor/static/src/xml/snippets.xml b/addons/web_editor/static/src/xml/snippets.xml index 3a17fc2bcf2..77e4686ae7e 100644 --- a/addons/web_editor/static/src/xml/snippets.xml +++ b/addons/web_editor/static/src/xml/snippets.xml @@ -9,8 +9,9 @@ <div class="o_handle w readonly"/> <div class="o_handle s readonly"/> - <!-- Overlay button-like handle to drag and drop --> - <div class="o_overlay_options"> + <!-- Overlay move specific section --> + <div class="o_overlay_move_options"> + <!-- Button-like handle to drag and drop --> <div class="o_move_handle"/> </div> </div> |
