Skip to content

Conversation

@chgo-odoo
Copy link
Contributor

@chgo-odoo chgo-odoo commented Dec 20, 2024

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.

opw-4373853

17.0 This PR
image image

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Dec 20, 2024

Pull request status dashboard

@C3POdoo C3POdoo added the RD research & development, internal work label Dec 20, 2024
@chgo-odoo chgo-odoo force-pushed the 18.0-fix-website-sale-termsncondition-mobile-overlap-chgo branch 2 times, most recently from 08907f9 to 115976c Compare December 20, 2024 14:52
@mano-odoo mano-odoo self-requested a review December 20, 2024 15:25
@chgo-odoo chgo-odoo force-pushed the 18.0-fix-website-sale-termsncondition-mobile-overlap-chgo branch 2 times, most recently from f50ada3 to 8ad4b44 Compare December 20, 2024 16:18
Copy link
Contributor

@mano-odoo mano-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for fixing this 👼
Note: Don't forget to remove the o_cta_navigation_placeholder element in the master fw port

@chgo-odoo chgo-odoo marked this pull request as ready for review December 20, 2024 17:27
@AntoineVDV
Copy link
Contributor

@robodoo delegate=vchu-odoo

@C3POdoo C3POdoo requested a review from a team December 20, 2024 17:29
Copy link
Contributor

@vchu-odoo vchu-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

Thank you for the great fix!
Is it possible to target 17.0 as there is the same issue?
Could you also please change task-** to opw-** in your commit message since it is a bugfix ticket not a task?

This commit fixes an issues about the terms & conditions overlapping the
rest of the content on the `website_sale` payment page.

Prior to this commit, 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.

opw-4373853
@chgo-odoo chgo-odoo changed the base branch from 18.0 to 17.0 December 23, 2024 09:20
@chgo-odoo chgo-odoo force-pushed the 18.0-fix-website-sale-termsncondition-mobile-overlap-chgo branch from 8ad4b44 to 6cbe2f8 Compare December 23, 2024 09:22
@vchu-odoo
Copy link
Contributor

Thank you for the changes!

@robodoo r+

robodoo pushed a commit that referenced this pull request Dec 23, 2024
This commit fixes an issues about the terms & conditions overlapping the
rest of the content on the `website_sale` payment page.

Prior to this commit, 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.

opw-4373853

closes #191346

Signed-off-by: Valeriya Chuprina (vchu) <vchu@odoo.com>
@robodoo robodoo closed this Dec 23, 2024
@fw-bot fw-bot deleted the 18.0-fix-website-sale-termsncondition-mobile-overlap-chgo branch January 6, 2025 12:20
BurkhalterY pushed a commit to Burkhalter-IT/odoo that referenced this pull request Jan 28, 2025
This commit fixes an issues about the terms & conditions overlapping the
rest of the content on the `website_sale` payment page.

Prior to this commit, 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.

opw-4373853

closes odoo#191346

Signed-off-by: Valeriya Chuprina (vchu) <vchu@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants