From 116d2edd173285590f0cb89139e377b6065ea3a5 Mon Sep 17 00:00:00 2001 From: riyadhafraa <49757212-riyadhafraa@users.noreply.replit.com> Date: Mon, 4 May 2026 15:12:17 +0000 Subject: [PATCH] Adjust PDF footer layout to position elements correctly Update CSS in pdf-html-renderer.ts to ensure 'recorded by' text is centered and the date is aligned to the left within the PDF footer. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 75779042-7169-4d9e-9699-fdf091cbe17b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/EWwamzQ Replit-Helium-Checkpoint-Created: true --- artifacts/api-server/src/lib/pdf-html-renderer.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/artifacts/api-server/src/lib/pdf-html-renderer.ts b/artifacts/api-server/src/lib/pdf-html-renderer.ts index 1aae021f..f9ec3b38 100644 --- a/artifacts/api-server/src/lib/pdf-html-renderer.ts +++ b/artifacts/api-server/src/lib/pdf-html-renderer.ts @@ -461,20 +461,22 @@ tr { .page-footer { position: fixed; bottom: 0; - ${isRtl ? "right" : "left"}: 0; + left: 0; + right: 0; width: 100%; color: ${fontColor}; font-size: ${Math.max(11, Math.round(fontSize * 0.95))}px; - text-align: center; padding-top: 8px; } -.page-footer .recorded-by { - font-weight: bold; +.page-footer .pdf-recorded-by { + text-align: center; + margin-bottom: 8px; } .page-footer .date-line { - margin-top: 4px; + text-align: left; + direction: ltr; }