diff --git a/frontend/src/components/UI/RecipeCard.vue b/frontend/src/components/UI/RecipeCard.vue index ad688f2c7..13aca1f38 100644 --- a/frontend/src/components/UI/RecipeCard.vue +++ b/frontend/src/components/UI/RecipeCard.vue @@ -14,12 +14,16 @@ style="height: 100%;" > - {{ description }} + {{ description | truncate(300) }} - {{ name | truncate(30) }} + +
+ {{ name }} +
+
@@ -75,4 +79,10 @@ export default { .v-card--text-show { opacity: 1 !important; } +.headerClass { + white-space: nowrap; + word-break: normal; + overflow: hidden; + text-overflow: ellipsis; +} \ No newline at end of file