Fix: Trennstrich der Absenderzeile im PDF-Adressfeld nur noch so breit wie der Text

This commit is contained in:
fds2610-bot 2026-05-03 18:22:58 +02:00
parent 59cf2d3e66
commit b1cf48e891

View file

@ -144,7 +144,7 @@ class PdfInvoiceService
<tr>
<!-- Linke Spalte: Anschriftfeld 85mm (Kuvertfenster) -->
<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">&nbsp;</div>
<div class="recipient">
{$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-right { vertical-align: top; padding: 0 0 0 5mm; }
.return-address-wrap { border-collapse: collapse; margin: 0; }
.return-address {
font-size: 5.5pt; color: #555;
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; }