diff --git a/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php b/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php
index d05b9812c..0e6fbb138 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 1664766d5..3e48b0e25 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 d2018b9c1..fe60a31a5 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 57a476498..accd0535b 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 5b80cda98..dd7247d53 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 9400f2549..60f1a4a4c 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 8857d4a8e..735c167fa 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 e2db395db..53ea63eaa 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 8b76de81e..2f9301852 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 9a201dbf6..ef8bdc3a3 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;