diff --git a/addons/snailmail/static/src/scss/snailmail_external_layout_asset.scss b/addons/snailmail/static/src/scss/snailmail_external_layout_asset.scss index 0e33b903047..8fc43c5b400 100644 --- a/addons/snailmail/static/src/scss/snailmail_external_layout_asset.scss +++ b/addons/snailmail/static/src/scss/snailmail_external_layout_asset.scss @@ -1,13 +1,12 @@ /*Modifications for the Standard and Boxed document layouts */ .article.o_report_layout_standard.o_company_1_layout, .article.o_report_layout_boxed.o_company_1_layout { > .pt-5 { + padding-top: 0 !important; > .address.row { - width: 100.5% !important; - height: 55mm; - margin-top: -13mm; - > div[name="address"] { - padding-top: 5mm; - } + width: 117% !important; + height: 68mm !important; + margin-top: -4mm !important; + line-height: 1.1em; } } } @@ -15,30 +14,34 @@ /*Modifications for Bold and Striped document layouts*/ .article.o_report_layout_bold.o_company_1_layout, .article.o_report_layout_striped.o_company_1_layout { > .address.row { - width: 100.5% !important; - height: 60mm; - margin-top: -6mm; - > div[name="address"] { - padding-top: 13mm; - } + width: 117% !important; + height: 68mm !important; + margin-top: -4mm !important; + line-height: 1.1em; } } +/* Modifications for all layouts */ div .address.row > div[name="address"] { position: relative !important; - width: 103mm !important; + margin-left: 47.5% !important; background-color: #ffffff; > address { width: 100% !important; position: absolute !important; bottom: 0 !important; - padding-left: 6mm; + padding-left: 5mm; padding-top: 3mm; height: 33mm; max-height: 33mm; } } +div .header.o_company_1_layout > div[class$="_header"] { + overflow: hidden !important; + max-height: 150px; +} + /* Follow-up Letters */ div .row.fallback_header { margin-top: -4mm !important;