diff options
| author | Dhruv Patel <dhp@odoo.com> | 2021-04-02 10:39:15 +0000 |
|---|---|---|
| committer | Dhruv Patel <dhp@odoo.com> | 2021-04-07 09:37:12 +0000 |
| commit | 08f152bb9ceb6bd4560aa177b392b0420162e131 (patch) | |
| tree | bac7f0d7264ce622976dea418cdd62d1b3015e2e /addons/mail/data/mail_data.xml | |
| parent | a1beb1a4b3d7cc9724f5a9adeb1183c0a89e175f (diff) | |
[FIX] mail: small image attachment preview too small for its box
In the chatter, the attachment preview image size is fixed with 160*160
but the actual preview area is 200*200px so the image is not filling correctly.
It appears padding around the image, especially visible when hovering it.
So with this commit, We should make sure to use a properly sized image in the
preview. we have to also provide the perfect resolution and preview for
the small images without upscaling incorrectly. For large images, it should be
display based on the aspect ratio.
Task : 2483885
closes odoo/odoo#68696
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions
