mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
makes the recipe image clickable to open full version (#678)
This commit is contained in:
parent
29d78f52ca
commit
20fc2d868b
@ -5,6 +5,7 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
<NoRecipe v-else-if="loadFailed" />
|
<NoRecipe v-else-if="loadFailed" />
|
||||||
<v-card v-else-if="!loadFailed" id="myRecipe" class="d-print-none">
|
<v-card v-else-if="!loadFailed" id="myRecipe" class="d-print-none">
|
||||||
|
<a :href="getImage(recipeDetails.slug)">
|
||||||
<v-img
|
<v-img
|
||||||
:height="hideImage ? '50' : imageHeight"
|
:height="hideImage ? '50' : imageHeight"
|
||||||
@error="hideImage = true"
|
@error="hideImage = true"
|
||||||
@ -19,6 +20,7 @@
|
|||||||
:performTime="recipeDetails.performTime"
|
:performTime="recipeDetails.performTime"
|
||||||
/>
|
/>
|
||||||
</v-img>
|
</v-img>
|
||||||
|
</a>
|
||||||
<RecipePageActionMenu
|
<RecipePageActionMenu
|
||||||
:slug="recipeDetails.slug"
|
:slug="recipeDetails.slug"
|
||||||
:name="recipeDetails.name"
|
:name="recipeDetails.name"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user