feat: Update poster dimensions to A4 size and enhance PDF generation tests

This commit is contained in:
hamed
2026-08-09 13:59:37 +03:30
parent 54bebbd41a
commit 5e86f115d3
6 changed files with 131 additions and 17 deletions
+4 -2
View File
@@ -47,7 +47,7 @@ function PosterLight({ data, onQrReady }) {
return (
<div
dir="rtl"
className="relative w-[1080px] h-[1350px] overflow-hidden flex flex-col bg-[#F6F9FD] text-center"
className="relative w-[1080px] h-[1527px] overflow-hidden flex flex-col bg-[#F6F9FD] text-center"
>
{/* top brand band */}
<div
@@ -71,7 +71,9 @@ function PosterLight({ data, onQrReady }) {
</div>
</div>
<div className="flex-1 px-[72px] flex flex-col items-center">
{/* بالا-چین می‌ماند تا آواتار روی نوار بالایی سوار بماند؛ فاصلهٔ اضافیِ کاغذ A4
به‌صورت فضای خالی بالای فوتر می‌نشیند، نه بین آواتار و نوار. */}
<div className="flex-1 px-[72px] pb-[40px] flex flex-col items-center">
{/* avatar overlapping band */}
<div className="-mt-[8px] pt-[40px]">
<div