Merge branch 'develop' of https://github.com/vabene1111/recipes into develop

This commit is contained in:
Kaibu
2021-06-30 15:37:18 +02:00
2 changed files with 6 additions and 3 deletions

View File

@ -24,12 +24,15 @@
<b-card-text style="text-overflow: ellipsis;">
<template v-if="recipe !== null">
<recipe-rating :recipe="recipe"></recipe-rating>
<span v-if="recipe.description.length > 120">
<template v-if="recipe.description !== null">
<span v-if="recipe.description.length > 120">
{{ recipe.description.substr(0, 120) + "\u2026" }}
</span>
<span v-if="recipe.description.length <= 120">
<span v-if="recipe.description.length <= 120">
{{ recipe.description }}
</span>
</template>
<br/> <!-- TODO UGLY! -->
<last-cooked :recipe="recipe"></last-cooked>
<keywords :recipe="recipe" style="margin-top: 4px"></keywords>