odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] web_editor: force the grid images maximum width to 100%

Open sobo-odoo opened this issue 1 year ago • 1 comments

In some theme customizations, images were replaced by new ones without specifying the usual image classes img img-fluid mx-auto. While two of them could be ignored, this is not the case of img-fluid, which limits the maximum width of an image to 100%. Without it, grid images in mobile view are overflowing, because the rule forcing their width to 100% has been moved in commit 1, to be applied on the desktop view only.

This commit fixes this issue by adding a rule for grid images, limiting their width to 100%. The problematic themes will also be fixed in the associated design PR.

sobo-odoo avatar Oct 09 '24 17:10 sobo-odoo

Pull request status dashboard

robodoo avatar Oct 09 '24 17:10 robodoo