odoo/odoo#191551
Created by fw-bot
Merged
at 85cbbc442db0203b97f912b28c03731f37c08f50
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.
- label
- odoo-dev:master-18.0-fix-website-sale-termsncondition-mobile-overlap-chgo-StZo-fw
- head
- 0ca11adba96782c5e4e533d598f79a2fb50d272b
- merged
- 10 months ago by Design, Chrysanthe Gomrée (chgo)
| odoo/odoo | |
|---|---|
| 17.0 | #191346 |
| saas-17.2 | #191504 |
| saas-17.4 | #191519 |
| 18.0 | #191537 |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #191551 |
[FW][FIX] website_sale: fix overlapping terms & conditions
This PR fixes an issues about the terms & conditions overlapping the rest of the content on the website_sale payment page.
Prior to this PR, the terms & conditions was positioned using a position-absolute with a bottom-0, resulting in the element extending to the topside if its content is very long. This led to some overlapping issues with the others elements of the view.
To prevent this issue to happen, we position the element with a top-100 and remove the <div> that aimed to handle the spacing at the bottom. We now manage this spacing with a utility class.
| 17.0 | This PR |
|---|---|
| <img width="472" alt="image" src="https://github.com/user-attachments/assets/6b4b768f-9764-45aa-84b8-94fcab059f30" /> | <img width="461" alt="image" src="https://github.com/user-attachments/assets/5cd8548e-9b8f-4036-84dd-3f224779af27" /> |
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #191346