mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-20 21:43:36 -07:00
Open recipes from overview in new tab for mobile
This commit is contained in:
parent
95fa0af28a
commit
02e5188d58
1 changed files with 116 additions and 105 deletions
|
@ -7,8 +7,18 @@
|
|||
:style="{ cursor }"
|
||||
hover
|
||||
height="100%"
|
||||
:to="$attrs.selected ? undefined : recipeRoute"
|
||||
@click="$emit('selected')"
|
||||
>
|
||||
<a
|
||||
:href="recipeRoute"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style="
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
height: 100%;
|
||||
"
|
||||
>
|
||||
<v-img
|
||||
v-if="vertical"
|
||||
|
@ -117,6 +127,7 @@
|
|||
</v-card-actions>
|
||||
</slot>
|
||||
</v-list-item>
|
||||
</a>
|
||||
<slot />
|
||||
</v-card>
|
||||
</v-expand-transition>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue