Skip to content
Snippets Groups Projects
Commit b0f03cb1 authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] website: fix non-full layouts combined with footer scroll effect

Since [1], a footer effect option has been introduced which allows to
have the content hovering the footer to then reveal it when reaching the
bottom of the page (instead of having the footer to scroll like the rest
of the content).

To achieve that, the body color was forced on the snippet container (the
`<main/>`) so that the transparent snippet still appear with a
background color for the time they go over the footer.
That background color should however not have been forced in non-full
layouts as another is already forced in that case. In those non-full
layout, the "full" body background (= background of color combination 1)
is applied on the snippet container but the "body" color is another
color which is customizable by the user too.

[1]: https://github.com/odoo/odoo/commit/5879e40445f0176d545b4a50f7f7ec33b2e171c8



Related to task-2590182

closes odoo/odoo#77490

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 9ed77eb3
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment