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 }"
|
: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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue