FIX contains picture
This commit is contained in:
parent
c245f763d3
commit
682062706a
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user