diff --git a/resources/views/pdf-designs/calm.html b/resources/views/pdf-designs/calm.html index 2bca3cbf119d..d70cf5af9b0f 100644 --- a/resources/views/pdf-designs/calm.html +++ b/resources/views/pdf-designs/calm.html @@ -45,9 +45,13 @@ .header-wrapper2 { display: grid; - grid-template-columns: 1fr 1fr 1fr; margin-top: 2rem; - min-width: 100%; + gap: 20px; + grid-template-columns: 2fr 2fr auto; + grid-template-areas: "a b c"; + grid-auto-columns: minmax(0, 5fr); + grid-auto-flow: column; + justify-content: left; } .company-logo { @@ -71,15 +75,13 @@ .header-wrapper #entity-details { margin-top: 0.5rem; text-align: left; - width: 100%; + /* width: 100%; */ } .header-wrapper #entity-details > tr, .header-wrapper #entity-details th { font-weight: normal; - padding-left: 0.9rem; - padding-top: 0.3rem; - padding-bottom: 0.3rem; + white-space: nowrap; } .header-wrapper @@ -98,7 +100,7 @@ } #shipping-details { - display: $show_shipping_address; + visibility: $show_shipping_address_visibility; flex-direction: column; line-height: var(--line-height); } @@ -180,7 +182,7 @@ #entity-details { text-align: left; - width: 100%; + /* width: 100%; */ } #entity-details th { @@ -276,6 +278,10 @@ [data-ref="total_table-public_notes"] { font-weight: normal; } [data-ref="total_table-terms"] { font-weight: normal; } + /* [data-ref="shipping_address-label"] { + display: none; + } */ + .stamp { transform: rotate(12deg); color: #555; @@ -362,25 +368,24 @@
-
-
- -
-
-
-
-
-
-
-
-
-
- -
-

$entity_label

-
-
-
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

$entity_label

+
+
+