1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

fix: Image height in home screen mobile format (#4088)

This commit is contained in:
Arsène Reymond 2024-08-23 20:26:12 +02:00 committed by GitHub
parent 22057cad19
commit 67dc0d7066
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 6 deletions

View file

@ -2,6 +2,8 @@
<v-img
v-if="!fallBackImage"
:height="height"
min-height="125"
max-height="fill-height"
:src="getImage(recipeId)"
@click="$emit('click')"
@load="fallBackImage = false"
@ -52,8 +54,8 @@ export default defineComponent({
default: null,
},
height: {
type: Number,
default: 200,
type: [Number, String],
default: "fill-height",
},
},
setup(props) {