[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,
|
linkForceNewWindow: true,
|
||||||
|
|
||||||
tabsize: 0,
|
tabsize: 0,
|
||||||
height: this.nodeOptions.height || 380,
|
height: this.nodeOptions.height || 110,
|
||||||
resizable: 'resizable' in this.nodeOptions ? this.nodeOptions.resizable : true,
|
resizable: 'resizable' in this.nodeOptions ? this.nodeOptions.resizable : true,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -354,7 +354,7 @@
|
|||||||
</group>
|
</group>
|
||||||
</page>
|
</page>
|
||||||
<page name='internal_notes' string="Internal Notes">
|
<page name='internal_notes' string="Internal Notes">
|
||||||
<field name="comment" placeholder="Internal note..."/>
|
<field name="comment" options="{'height': 70}" placeholder="Internal note..."/>
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</sheet>
|
</sheet>
|
||||||
|
|||||||
Reference in New Issue
Block a user