From e9804ccf29c6a92566bc7bfa39a0ab804746d2d2 Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Thu, 12 Oct 2023 16:37:00 +0200 Subject: [PATCH] [FIX] website_sale: checkout summary offset header This PR offset the cart_summary of the size of the tallest header to make sure the header is not hiding the cart summary when the user scrolls in the checkout. This is a temporary solution and the real header height should be used as a value instead of the default's one. task-3551420 closes odoo/odoo#138543 Signed-off-by: Valentin Chevalier --- addons/website_sale/static/src/scss/website_sale.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/website_sale/static/src/scss/website_sale.scss b/addons/website_sale/static/src/scss/website_sale.scss index f4daebd0ad3..2f2bfc948d0 100644 --- a/addons/website_sale/static/src/scss/website_sale.scss +++ b/addons/website_sale/static/src/scss/website_sale.scss @@ -679,6 +679,13 @@ a.no-decoration { .o_total_border { border: $border-width solid $border-color; + // TODO VCR This value should adapt to the offsetHeight + // of the header this is an arbitrary value as a temporary solution + // to offset the summary regarding the tallest header (Magazine) + @include media-breakpoint-up(lg) { + top: 9rem; + } + @include media-breakpoint-down(lg) { border: 0; }