diff --git a/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php b/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php
index d05b9812c21e..0e6fbb1385aa 100644
--- a/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php
+++ b/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php
@@ -159,7 +159,7 @@ trait DesignHelpers
public function sharedFooterElements()
{
- return ['element' => 'div', 'properties' => ['style' => 'display: flex; justify-content: space-between'], 'elements' => [
+ return ['element' => 'div', 'properties' => ['style' => 'display: flex; justify-content: space-between; margin-top: 1.5rem;'], 'elements' => [
['element' => 'img', 'properties' => ['src' => '$contact.signature', 'style' => 'height: 5rem;']],
['element' => 'img', 'properties' => ['src' => '$app_url/images/created-by-invoiceninja-new.png', 'style' => 'height: 5rem;', 'hidden' => $this->entity->user->account->isPaid() ? 'true' : 'false']],
]];
diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html
index 1664766d5e03..3e48b0e257bc 100644
--- a/resources/views/pdf-designs/bold.html
+++ b/resources/views/pdf-designs/bold.html
@@ -12,6 +12,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -151,7 +156,7 @@
-
+
diff --git a/resources/views/pdf-designs/business.html b/resources/views/pdf-designs/business.html
index d2018b9c176c..fe60a31a5d22 100644
--- a/resources/views/pdf-designs/business.html
+++ b/resources/views/pdf-designs/business.html
@@ -13,6 +13,18 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
+ @media print {
+ body {
+ margin: 0;
+ padding: 0;
+ }
+ }
+
.header-container {
display: grid;
grid-template-columns: 1.8fr 1fr 1fr;
diff --git a/resources/views/pdf-designs/clean.html b/resources/views/pdf-designs/clean.html
index 57a4764986df..accd0535ba25 100644
--- a/resources/views/pdf-designs/clean.html
+++ b/resources/views/pdf-designs/clean.html
@@ -13,6 +13,11 @@
font-family: Arial, Helvetica, sans-serif;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
@media print {
body {
margin-top: 0;
diff --git a/resources/views/pdf-designs/creative.html b/resources/views/pdf-designs/creative.html
index 5b80cda98521..dd7247d5379b 100644
--- a/resources/views/pdf-designs/creative.html
+++ b/resources/views/pdf-designs/creative.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/resources/views/pdf-designs/elegant.html b/resources/views/pdf-designs/elegant.html
index 9400f2549bae..60f1a4a4ca07 100644
--- a/resources/views/pdf-designs/elegant.html
+++ b/resources/views/pdf-designs/elegant.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/resources/views/pdf-designs/hipster.html b/resources/views/pdf-designs/hipster.html
index 8857d4a8ee92..735c167fa315 100644
--- a/resources/views/pdf-designs/hipster.html
+++ b/resources/views/pdf-designs/hipster.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/resources/views/pdf-designs/modern.html b/resources/views/pdf-designs/modern.html
index e2db395dba6b..53ea63eaa9e2 100644
--- a/resources/views/pdf-designs/modern.html
+++ b/resources/views/pdf-designs/modern.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/resources/views/pdf-designs/plain.html b/resources/views/pdf-designs/plain.html
index 8b76de81e8e4..2f9301852765 100644
--- a/resources/views/pdf-designs/plain.html
+++ b/resources/views/pdf-designs/plain.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
diff --git a/resources/views/pdf-designs/playful.html b/resources/views/pdf-designs/playful.html
index 9a201dbf660b..ef8bdc3a3a2a 100644
--- a/resources/views/pdf-designs/playful.html
+++ b/resources/views/pdf-designs/playful.html
@@ -11,6 +11,11 @@
font-size: 14px;
}
+ @page {
+ margin-top: 1cm;
+ margin-bottom: 1cm;
+ }
+
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;