diff options
| author | Samuel Degueldre <sad@odoo.com> | 2020-03-30 12:22:06 +0000 |
|---|---|---|
| committer | Samuel Degueldre <sad@odoo.com> | 2020-03-31 05:57:43 +0000 |
| commit | 30ab8ac0222514a37d232e63da925ac6fdfe96b1 (patch) | |
| tree | a90dba01119c5437d3d56cd5143619f7d63cb792 /doc/reference/javascript_reference.rst | |
| parent | 8aa35a2c9eab976210f5b2d438ff1012c613a52e (diff) | |
[FIX] web_editor: use media-container width to determine optimized width
In 644572819ab9a1525af6077dd20c63957eb9271c the mediaWidth which was
previously useless has been changed to default to the media's own width.
This causes problems when there is a small image in a large container,
because when replacing it, it would still suggest a very small size.
This commit makes the mediaWidth default to the container's width
instead to fix those issues.
closes odoo/odoo#48631
X-original-commit: 3d8b56b2c9c7486430f2e947fecfe07d7163a732
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
