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:
parent
22057cad19
commit
67dc0d7066
3 changed files with 13 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue