[FIX] web: better report preview

Report footer is sometimes misplaced in settings preview.
We change the css to always stick to the bottom of the preview,
no matter the content height.

Task-3145445

closes odoo/odoo#136534

X-original-commit: 9be75bb17063c6b0207aa82144e9f44b6e49dc45
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Sébastien Geelen (sge)
2023-09-25 18:09:56 +00:00
parent 41ec6b22be
commit c5c253c436
+5 -15
View File
@@ -60,23 +60,13 @@
**/
/** The footers are not at the bottom of the page, so we push them down. **/
.o_background_footer {
margin-top: 295px !important;
.o_background_footer, .o_standard_footer, .o_boxed_footer, .o_clean_footer {
position: absolute;
bottom: 0;
left:50px;
right:50px;
font-size: 0.8rem
}
.o_standard_footer {
margin-top: 200px !important;
font-size: 0.8rem
}
.o_boxed_footer {
margin-top: 270px !important;
font-size: 0.8rem
}
.o_clean_footer {
margin-top: 175px !important;
font-size: 0.8rem
}
/** Avoid image overflowing and creating a scrollbar **/
.o_background_header {
min-width: initial !important;