From 602bc327c8a5efece61974bffd955d5df48bcd0d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 24 Nov 2021 17:47:21 +1100 Subject: [PATCH] Fixes for modern design --- app/Jobs/Entity/CreateRawPdf.php | 4 ++-- resources/views/pdf-designs/modern.html | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Jobs/Entity/CreateRawPdf.php b/app/Jobs/Entity/CreateRawPdf.php index 585deb9dbe35..c2c28b0c23f1 100644 --- a/app/Jobs/Entity/CreateRawPdf.php +++ b/app/Jobs/Entity/CreateRawPdf.php @@ -188,9 +188,9 @@ class CreateRawPdf implements ShouldQueue nlog(print_r($e->getMessage(), 1)); } - if (config('ninja.log_pdf_html')) { + // if (config('ninja.log_pdf_html')) { info($maker->getCompiledHTML()); - } + // } if ($pdf) return $pdf; diff --git a/resources/views/pdf-designs/modern.html b/resources/views/pdf-designs/modern.html index 608380e11fb4..906237dfe47b 100644 --- a/resources/views/pdf-designs/modern.html +++ b/resources/views/pdf-designs/modern.html @@ -2,8 +2,8 @@ @import url($font_url); :root { - --primary-color: #298aab; - --secondary-color: #7081e0; + --primary-color: $primary_color; + --secondary-color: $secondary_color; } body { @@ -149,13 +149,13 @@ #footer, #footer-spacer { height: 220px; - padding: 1rem 3rem; + padding: 1rem 1.5rem; margin-top: 1rem; } .footer-content { display: flex; - gap: 20px; + gap: 10px; width: 100%; /* grid-template-columns: 1fr 1fr 1fr; */ color: #fff4e9; @@ -165,8 +165,8 @@ .footer-company-details-address-wrapper { display: flex; - gap: 25px; - margin-right: 150px; + gap: 5px; + margin-right: 60px; } #company-address, @@ -348,7 +348,7 @@ $entity_images