FIX contains picture

This commit is contained in:
Rémi Heredero 2024-08-19 09:56:30 +02:00
parent c245f763d3
commit 682062706a
Signed by: Klagarge
GPG Key ID: 3CBAC2C6CD1E8807

View File

@ -48,7 +48,7 @@
inset: 0pt, inset: 0pt,
[ [
#if picture != none { #if picture != none {
image(picture, width: 5.4cm, height: 8.1cm) image(picture, fit: "contain", width: 5.4cm, height: 8.1cm)
} else { } else {
image("./placeholder.svg", width: 5.4cm, height: 8.1cm) image("./placeholder.svg", width: 5.4cm, height: 8.1cm)
} }