[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 <vcr@odoo.com>
This commit is contained in:
mano-odoo
2023-10-12 17:20:50 +00:00
parent 36e98afb4f
commit e9804ccf29
@@ -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;
}