diff --git a/addons/web_editor/static/src/js/backend/field_html.js b/addons/web_editor/static/src/js/backend/field_html.js index 16eb7daa79b..5fbde02010f 100644 --- a/addons/web_editor/static/src/js/backend/field_html.js +++ b/addons/web_editor/static/src/js/backend/field_html.js @@ -527,8 +527,8 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, { $button.css({ 'font-size': '15px', position: 'absolute', - right: '+5px', - top: '+5px', + right: odoo.debug && this.nodeOptions.codeview ? '40px' : '5px', + top: '5px', }); this.$el.append($button); if (odoo.debug && this.nodeOptions.codeview) {