Skip to content

Commit

Permalink
card skeleton loader improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Mar 18, 2024
1 parent 46d2b77 commit 83e9a2b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vue3/src/components/display/RecipeCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@
</v-card>
</template>
<template v-else>
<v-skeleton-loader :elevation="3" type="image, heading, subtitle" v-if="loading" ></v-skeleton-loader>
<v-card :style="{'height': height}">
<v-img src="../../assets/recipe_no_image.svg" cover height="60%"></v-img>
<v-card-title><v-skeleton-loader type="heading"></v-skeleton-loader></v-card-title>
<v-card-text>
<v-skeleton-loader type="subtitle"></v-skeleton-loader>
</v-card-text>
</v-card>

</template>

</template>
Expand Down

0 comments on commit 83e9a2b

Please sign in to comment.