From 996f3a287fc086ef6c738986831b875608b3cc1e Mon Sep 17 00:00:00 2001 From: KhatamNugraha Date: Mon, 9 Oct 2023 14:51:56 +0700 Subject: [PATCH] set margin export pdf --- Resources/views/exportPdf.blade.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Resources/views/exportPdf.blade.php b/Resources/views/exportPdf.blade.php index e79fbf2..bbc1823 100644 --- a/Resources/views/exportPdf.blade.php +++ b/Resources/views/exportPdf.blade.php @@ -7,7 +7,9 @@ /* Contoh style tambahan */ @page { - margin: 1cm 1cm; + margin-top: 3.5cm; + margin-right: 1.5cm; + margin-left: 1.5cm; } /** Define the header rules **/ @@ -28,10 +30,10 @@ right: 0cm; } - body{ - margin-top: 3.9cm; + /* body{ + margin-top: 2.5cm; margin-bottom: 100px; - } + } */ /* .content { padding-top:3.90cm;