diff --git a/resources/views/pdf-designs/clean.html b/resources/views/pdf-designs/clean.html index 7d0c8914fa4d..b7184fa6f707 100644 --- a/resources/views/pdf-designs/clean.html +++ b/resources/views/pdf-designs/clean.html @@ -57,7 +57,6 @@ } .company-logo { -/* max-width: 65%;*/ max-width: $company_logo_size; } @@ -96,14 +95,11 @@ #entity-details { display: table; padding-right: 30px; - flex-direction: column; - overflow: hidden; height: 12px; white-space: nowrap; line-height: var(--line-height); - } .entity-details-cell { @@ -116,7 +112,6 @@ flex-direction: column; padding-right: 30px; line-height: var(--line-height); - } #shipping-details { @@ -372,11 +367,10 @@

$entity_label

-
-
+
-
+
diff --git a/resources/views/pdf-designs/plain.html b/resources/views/pdf-designs/plain.html index 4cedc8f519dd..66116b47a12e 100644 --- a/resources/views/pdf-designs/plain.html +++ b/resources/views/pdf-designs/plain.html @@ -38,6 +38,7 @@ display: grid; grid-template-columns: 1fr 1fr 1fr; line-height: var(--line-height); + margin-bottom: 10px; } .company-logo { @@ -65,6 +66,11 @@ padding-bottom: 0.3rem; } + .entity-details-cell { + display: table-cell; + border-right: 10px solid transparent; + } + .header-wrapper #entity-details [data-element='entity-balance-due-label'], @@ -74,9 +80,22 @@ background-color: #e6e6e6; } + .client-or-vendor-wrapper { + display: flex; + padding: 0.2rem; + } + #client-details { display: flex; flex-direction: column; + padding-right: 30px; + line-height: var(--line-height); + } + + #shipping-details { + display: flex; + flex-direction: column; + padding-right: 30px; line-height: var(--line-height); } @@ -85,7 +104,7 @@ min-width: 100%; table-layout: fixed; overflow-wrap: break-word; - margin-bottom: 50px; + margin-bottom: 20px; } .task-time-details { @@ -266,6 +285,7 @@ .pqrcode { } + /** Useful snippets, uncomment to enable. **/ /** Hide company logo **/ @@ -317,11 +337,14 @@ src="$company.logo" alt="$company.name logo" /> -
+
-
-
+
+
+
+
+