Open recipes from overview in new tab for mobile

This commit is contained in:
Torsten Long 2025-06-29 12:04:34 +02:00
commit 02e5188d58

View file

@ -7,8 +7,18 @@
:style="{ cursor }" :style="{ cursor }"
hover hover
height="100%" height="100%"
:to="$attrs.selected ? undefined : recipeRoute"
@click="$emit('selected')" @click="$emit('selected')"
>
<a
:href="recipeRoute"
target="_blank"
rel="noopener noreferrer"
style="
text-decoration: none;
color: inherit;
display: block;
height: 100%;
"
> >
<v-img <v-img
v-if="vertical" v-if="vertical"
@ -117,6 +127,7 @@
</v-card-actions> </v-card-actions>
</slot> </slot>
</v-list-item> </v-list-item>
</a>
<slot /> <slot />
</v-card> </v-card>
</v-expand-transition> </v-expand-transition>