diff --git a/resources/views/pdf-designs/hipster.html b/resources/views/pdf-designs/hipster.html index b82e2d8cb1..2ac267f7d5 100644 --- a/resources/views/pdf-designs/hipster.html +++ b/resources/views/pdf-designs/hipster.html @@ -36,7 +36,7 @@ .header-wrapper { display: grid; - grid-template-columns: 1.2fr 1.8fr; + grid-template-columns: 0.5fr 1.5fr; gap: 20px; line-height: var(--line-height); } @@ -67,10 +67,17 @@ .header-wrapper .header-right-side-wrapper { display: grid; - grid-template-columns: 1fr 1fr; + /* grid-template-columns: 1fr 1fr; */ gap: 10px; border-left: 1px solid #303030; padding-left: 1rem; + + grid-template-columns: auto auto auto; + grid-template-areas: "a b c"; + grid-auto-columns: minmax(0, 1fr); + grid-auto-flow: column; + justify-content:left; + } .header-wrapper .header-right-side-wrapper #client-details { @@ -79,6 +86,20 @@ margin-top: 0.8rem; } + .header-wrapper .header-right-side-wrapper #shipping-details { + display: $show_shipping_address; + flex-direction: column; + margin-top: 0.8rem; + } + + .shipping-text-label { + font-size: 1.1rem; + color: var(--primary-color); + text-transform: uppercase; + font-weight: bold; + display: $show_shipping_address; + } + .header-wrapper { margin-left: auto; } @@ -110,6 +131,10 @@ font-weight: bold; } + [data-ref="shipping_address-label"] { + display: none; + } + [data-ref="table"] { margin-top: 1rem; margin-bottom: 50px; @@ -355,6 +380,10 @@
+$shipping_label:
+ +