-
- Downloads
[FIX] web_editor: preserve aspect ratio on non-responsive images
Since Bootstrap responsive behavior can't be guaranteed, we have to make sure that images that didn't keep their original dimensions preserve their aspect ratio. This can be achieved with the `object-fit: cover` CSS property. We apply this on images that are not responsive and that are alone in a div because these are the ones at risk. opw-3244705 task-3334591 Part-of: odoo/odoo#125146
Please register or sign in to comment