Footer indented by a few milimeters

31 views
Skip to first unread message

Sven Wehrend

unread,
Feb 8, 2024, 11:55:33 AMFeb 8
to wkhtmltop...@googlegroups.com, m.dues...@ecodoo.eu, stefan...@tec-connect.eu
Hello there, 

I have a weird problem with Odoo and wkhtmltopdf, I got the relevant css rules as below, and with these rules, 
the pdf outputed has a footer that is compared to the body indented by a few milimeters.
As can be seen I've already test margin-left:0px with importance as well as padding-left:0px with importance,
but nothing changes this. Any ideas why this is?

Best,
Sven Wehrend
div.footer { margin-left:0px !important; padding-left:0px !important; font-family:<t t-esc="font"/>,sans-serif,"Segoe UI",Roboto,Arial; }
div.footer .legal { width:auto; vertical-align: top; }
div.footer td.legal span::after { content: "\A"; white-space: pre; }
.footer .row { font-size: 11px;color:#707070;}
.footer .row.company_legal_banks { border-bottom:1px solid #A9A9A9;}
/* .footer .company_info { color:#A9A9A9; }
.footer .company_contact { color:#A9A9A9; }
.footer .legal { color:#A9A9A9; }
.footer .bank { color:#A9A9A9; } */
.footer .company_name,.footer .company_ceo, .footer .bank_name { font-weight:bold; }
th{border-left:0px solid white; border-top:0px solid white; border-right:0px solid white; border-bottom:0px solid white;}
td{border-left:0px solid white; border-top:0px solid white; border-right:0px solid white; border-bottom:0px solid white;}
Reply all
Reply to author
Forward
0 new messages