[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:
@@ -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,
|
||||
});
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user