[FIX] web_editor: make editor smaller in contacts

Make the default height of the editor quite smaller in res.partner view.
To avoid "breaking" the design and prevent scrollbars

task-2586137

Part-of: odoo/odoo#75863
This commit is contained in:
Sébastien Geelen (sge)
2021-09-03 08:11:56 +00:00
parent 8727ed2766
commit 607c5ea4e2
2 changed files with 2 additions and 2 deletions
@@ -195,7 +195,7 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, {
linkForceNewWindow: true,
tabsize: 0,
height: this.nodeOptions.height || 380,
height: this.nodeOptions.height || 110,
resizable: 'resizable' in this.nodeOptions ? this.nodeOptions.resizable : true,
});
},
+1 -1
View File
@@ -354,7 +354,7 @@
</group>
</page>
<page name='internal_notes' string="Internal Notes">
<field name="comment" placeholder="Internal note..."/>
<field name="comment" options="{'height': 70}" placeholder="Internal note..."/>
</page>
</notebook>
</sheet>