Fix: Trennstrich der Absenderzeile im PDF-Adressfeld nur noch so breit wie der Text
This commit is contained in:
parent
59cf2d3e66
commit
b1cf48e891
1 changed files with 3 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ class PdfInvoiceService
|
||||||
<tr>
|
<tr>
|
||||||
<!-- Linke Spalte: Anschriftfeld 85mm (Kuvertfenster) -->
|
<!-- Linke Spalte: Anschriftfeld 85mm (Kuvertfenster) -->
|
||||||
<td class="address-left">
|
<td class="address-left">
|
||||||
<div class="return-address">{$h($settings['firma'] ?? '')} · {$h($settings['strasse'] ?? '')} · {$h($settings['plz'] ?? '')} {$h($settings['ort'] ?? '')}</div>
|
<table class="return-address-wrap"><tr><td class="return-address">{$h($settings['firma'] ?? '')} · {$h($settings['strasse'] ?? '')} · {$h($settings['plz'] ?? '')} {$h($settings['ort'] ?? '')}</td></tr></table>
|
||||||
<div style="height:2.5mm;font-size:2.5mm;line-height:2.5mm"> </div>
|
<div style="height:2.5mm;font-size:2.5mm;line-height:2.5mm"> </div>
|
||||||
<div class="recipient">
|
<div class="recipient">
|
||||||
{$h($customerName)}<br>
|
{$h($customerName)}<br>
|
||||||
|
|
@ -263,10 +263,11 @@ body { font-family: opensans, sans-serif; font-size: 7.8pt; color: #000; }
|
||||||
.address-left { width: 85mm; vertical-align: top; padding: 0; }
|
.address-left { width: 85mm; vertical-align: top; padding: 0; }
|
||||||
.address-right { vertical-align: top; padding: 0 0 0 5mm; }
|
.address-right { vertical-align: top; padding: 0 0 0 5mm; }
|
||||||
|
|
||||||
|
.return-address-wrap { border-collapse: collapse; margin: 0; }
|
||||||
.return-address {
|
.return-address {
|
||||||
font-size: 5.5pt; color: #555;
|
font-size: 5.5pt; color: #555;
|
||||||
border-bottom: 0.3pt solid #aaa;
|
border-bottom: 0.3pt solid #aaa;
|
||||||
padding-bottom: 1mm;
|
padding: 0 0 1mm 0;
|
||||||
}
|
}
|
||||||
.recipient { font-size: 10pt; line-height: 1.5; min-height: 27.3mm; }
|
.recipient { font-size: 10pt; line-height: 1.5; min-height: 27.3mm; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue