fix: use markdown for description in cards (#2011)
This commit is contained in:
parent
ae59f04b9f
commit
a72f038247
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
<div v-if="hover" class="d-flex transition-fast-in-fast-out secondary v-card--reveal" style="height: 100%">
|
<div v-if="hover" class="d-flex transition-fast-in-fast-out secondary v-card--reveal" style="height: 100%">
|
||||||
<v-card-text class="v-card--text-show white--text">
|
<v-card-text class="v-card--text-show white--text">
|
||||||
<div class="descriptionWrapper">
|
<div class="descriptionWrapper">
|
||||||
{{ description}}
|
<SafeMarkdown :source="description" />
|
||||||
</div>
|
</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,9 @@
|
||||||
</slot>
|
</slot>
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title class="mb-1">{{ name }} </v-list-item-title>
|
<v-list-item-title class="mb-1">{{ name }} </v-list-item-title>
|
||||||
<v-list-item-subtitle> {{ description }} </v-list-item-subtitle>
|
<v-list-item-subtitle>
|
||||||
|
<SafeMarkdown :source="description" />
|
||||||
|
</v-list-item-subtitle>
|
||||||
<div class="d-flex justify-center align-center">
|
<div class="d-flex justify-center align-center">
|
||||||
<slot name="actions">
|
<slot name="actions">
|
||||||
<RecipeFavoriteBadge v-if="loggedIn" :slug="slug" show-always />
|
<RecipeFavoriteBadge v-if="loggedIn" :slug="slug" show-always />
|
||||||
|
|
Loading…
Reference in a new issue