Skip to content
Snippets Groups Projects
Commit 694f80cd authored by Romain Derie's avatar Romain Derie
Browse files

[FIX] web: `background layout` should not apply margin-top on footer

1. `background layout` report template should keep the min-height property to
avoid breaking the pdf report template.
This property is needed to display the background image at the right position
(avoid image to be crop if not a lot of invoice lines). see https://github.com/odoo/odoo/commit/41c75ad0c37d567dd43e418fda927c7ae38a3add

2. margin-top can't be applied or it will also break the pdf layout.
`min-height` will ensure that the html rendered will be high enough to looks
like the real pdf invoice anyway.

opw-39876
parent 3a77deb6
Branches
Tags
No related merge requests found
......@@ -19,7 +19,6 @@
}
}
.o_background_footer {
margin-top: 200px;
ul {
border-top: 1px solid $o-brand-primary;
border-bottom: 1px solid $o-brand-primary;
......@@ -35,6 +34,7 @@
background-size: cover;
background-position: bottom center;
background-repeat: no-repeat;
min-height: 900px;
thead tr th, h2 {
color: $o-brand-primary;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment