Skip to content

Commit d7a33c3

Browse files
fix:tools): set max height to invoice svg logo
1 parent 7843ac6 commit d7a33c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/tools/templates/invoice/default.typ

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@
148148
columns: (50%, 50%),
149149
[
150150
#if (invoice.companyDetails.logoSvg != none) [
151-
#image(bytes(invoice.companyDetails.logoSvg), format: "svg", width: 80%)
151+
#box(height: 15em)[
152+
#image(bytes(invoice.companyDetails.logoSvg), format: "svg")
153+
]
152154
]
153155
#align(bottom)[#invoice.clientDetails.at("companyName", default: none) \
154156
#invoice.clientDetails.at("contactPersonName", default: none) \

0 commit comments

Comments
 (0)