From 742303eb73dc8e6b8570acdd16e695ea1113c9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Mon, 8 Jun 2026 19:35:08 +0300 Subject: [PATCH] refactor: remove decorative borders and normalize print layout styling for PDF generation --- resources/views/front/career/verify.blade.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/resources/views/front/career/verify.blade.php b/resources/views/front/career/verify.blade.php index 0b3beba..0e3f9f7 100644 --- a/resources/views/front/career/verify.blade.php +++ b/resources/views/front/career/verify.blade.php @@ -42,8 +42,6 @@ -
-
@@ -63,8 +61,8 @@

STAJ BİTİRME
SERTİFİKASI

-

SAYIN

-

{{ $application->name }}

+

SAYIN

+

{{ $application->name }}

@@ -376,6 +374,7 @@ padding: 15mm !important; box-shadow: none !important; border: none !important; + border-radius: 0 !important; box-sizing: border-box !important; page-break-after: always !important; break-after: page !important; @@ -398,6 +397,7 @@ padding: 10mm !important; box-shadow: none !important; border: none !important; + border-radius: 0 !important; box-sizing: border-box !important; overflow: hidden !important; } @@ -470,16 +470,20 @@ const origCertTransform = certEl.style.transform; const origCertWidth = certEl.style.width; const origCertHeight = certEl.style.height; + const origCertRadius = certEl.style.borderRadius; const origTransTransform = transEl.style.transform; const origTransWidth = transEl.style.width; const origTransHeight = transEl.style.height; + const origTransRadius = transEl.style.borderRadius; certEl.style.transform = 'none'; certEl.style.width = '1122px'; certEl.style.height = '794px'; + certEl.style.borderRadius = '0'; transEl.style.transform = 'none'; transEl.style.width = '794px'; transEl.style.height = '1122px'; + transEl.style.borderRadius = '0'; // Render Page 1 (Landscape) const certCanvas = await html2canvas(certEl, { @@ -519,9 +523,11 @@ certEl.style.transform = origCertTransform; certEl.style.width = origCertWidth; certEl.style.height = origCertHeight; + certEl.style.borderRadius = origCertRadius; transEl.style.transform = origTransTransform; transEl.style.width = origTransWidth; transEl.style.height = origTransHeight; + transEl.style.borderRadius = origTransRadius; // Trigger Save File pdf.save('{{ str()->slug($application->name) }}-staj-belgesi.pdf');