From 373e5416a243bf7df0f2b0ceffb0125a75982823 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Tue, 13 Oct 2026 03:43:06 +0000 Subject: [PATCH 1/2] fix(danfse): align QR vertical position with NT008 2.4.3 (#118) Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/Danfse/HTMLTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Danfse/HTMLTemplate.php b/src/Danfse/HTMLTemplate.php index 2346a69..c855724 100644 --- a/src/Danfse/HTMLTemplate.php +++ b/src/Danfse/HTMLTemplate.php @@ -66,7 +66,7 @@ .municipality-cell { width: 26%; font-family: "Microsoft Sans Serif", Arial, sans-serif; text-align: left; } .municipality-name { font-size: 8pt; font-weight: normal; } .municipality-environment { font-size: 6pt; font-weight: normal; } - .qr-container { text-align: center; } + .qr-container { text-align: center; padding-top: 9pt; } .qr-notice { font-size: 6pt; line-height: 1.15; margin-top: 2pt; text-align: left; } .access-key { white-space: nowrap; font-size: 7pt; } .no-party { text-align: center; font-size: 6pt; padding: 2pt; border-bottom: 0.5pt solid #000; } From 014e6a9c59708fb5d21a467c38b12fe6136b2066 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Tue, 13 Oct 2026 03:46:43 +0000 Subject: [PATCH 2/2] fix(danfse): align QR horizontal and vertical anchors (#118) Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/Danfse/HTMLTemplate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Danfse/HTMLTemplate.php b/src/Danfse/HTMLTemplate.php index c855724..7fc8d23 100644 --- a/src/Danfse/HTMLTemplate.php +++ b/src/Danfse/HTMLTemplate.php @@ -66,7 +66,8 @@ .municipality-cell { width: 26%; font-family: "Microsoft Sans Serif", Arial, sans-serif; text-align: left; } .municipality-name { font-size: 8pt; font-weight: normal; } .municipality-environment { font-size: 6pt; font-weight: normal; } - .qr-container { text-align: center; padding-top: 9pt; } + .qr-container { text-align: center; padding-top: 8.7pt; } + .qr-container img { position: relative; left: -1.4pt; } .qr-notice { font-size: 6pt; line-height: 1.15; margin-top: 2pt; text-align: left; } .access-key { white-space: nowrap; font-size: 7pt; } .no-party { text-align: center; font-size: 6pt; padding: 2pt; border-bottom: 0.5pt solid #000; }