diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index e0e71896be17..94f9855a0bac 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -69,7 +69,7 @@ class PdfMock $html = $pdf_service->getHtml(); - nlog($html); + // nlog($html); return $pdf_service->resolvePdfEngine($html); } diff --git a/resources/views/pdf-designs/elegant.html b/resources/views/pdf-designs/elegant.html index 58fd22fdd657..189245063b18 100644 --- a/resources/views/pdf-designs/elegant.html +++ b/resources/views/pdf-designs/elegant.html @@ -55,11 +55,15 @@ display: flex; margin-top: 1rem; gap: 20px; - margin-left: 10px; + margin-left: 0px; line-height: var(--line-height); } - #entity-details p { margin-right: 20px; margin-top: 5px; } + #entity-details p { + margin-right: 0px; + margin-top: 5px; + white-space: nowrap; + } .client-entity-wrapper .wrapper-info-text { display: block; @@ -109,17 +113,19 @@ .client-entity-wrapper #entity-details { text-align: left; margin-top: 0.5rem; - /* min-width: 100%; */ + min-width: 100%; } .client-entity-wrapper #entity-details > tr, .client-entity-wrapper #entity-details th { font-weight: normal; + padding-right:8px; } [data-ref="table"] { margin-top: 3rem; - margin-bottom: 50px; + margin-bottom: 5 + px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; @@ -145,6 +151,7 @@ [data-ref="table"] > thead > tr > th:last-child { text-align: right; + padding-right: 1rem; } [data-ref="table"] > tbody > tr > td { @@ -159,6 +166,7 @@ [data-ref="table"] > tbody > tr > td:last-child { text-align: right; + padding-right: 1rem; } [data-ref="shipping_address-label"] {