[FIX] web_editor: fix translate button position
The translate button was overlapping the codeview button in the mail template view. task-2683847 closes odoo/odoo#79704 X-original-commit: 8a6de9089bfd77f5fdc6f4a11016906454e442cc Signed-off-by: Antoine Guenet <age@odoo.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user