odoo/odoo#185715
Created by fw-bot
Merged
at 9045192d9571316c9287960a2304c38f6d9f5fb3
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
Linked pull requests
- label
- odoo-dev:master-17.0-grid_image_img_fluid-sobo-bGe2-fw
- head
- 75d5af5527d2f837afb5275204a80a266a107177
- merged
- 1 year ago by Quentin Smetz (qsm)
| odoo/odoo | odoo/design-themes | |
|---|---|---|
| 17.0 | #183013 | #984 |
| saas-17.2 | #185398 | #997 |
| saas-17.4 | #185404 | #998 |
| 18.0 | #185408 | #999 |
| saas-18.2 | ||
| saas-18.3 | ||
| saas-18.4 | ||
| 19.0 | ||
| saas-19.1 | ||
| master | #185715 | #1003 |
[FW][FIX] web_editor: force the grid images maximum width to 100%
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.