makes the recipe image clickable to open full version (#678)

This commit is contained in:
Patrick 2021-09-12 13:06:46 -06:00 committed by GitHub
parent 29d78f52ca
commit 20fc2d868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
</v-card>
<NoRecipe v-else-if="loadFailed" />
<v-card v-else-if="!loadFailed" id="myRecipe" class="d-print-none">
<a :href="getImage(recipeDetails.slug)">
<v-img
:height="hideImage ? '50' : imageHeight"
@error="hideImage = true"
@ -19,6 +20,7 @@
:performTime="recipeDetails.performTime"
/>
</v-img>
</a>
<RecipePageActionMenu
:slug="recipeDetails.slug"
:name="recipeDetails.name"