From 14e2eb86488190a1e8f2ca5f0e3ec60447e6e276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Gr=C3=B8nhaug?= <jakob@gronha.ug> Date: Fri, 5 May 2023 10:21:25 +0200 Subject: [PATCH] oppskrift-card --- src/components/RecipeCard.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/RecipeCard.vue b/src/components/RecipeCard.vue index 04aa4f2..1d6cdc9 100644 --- a/src/components/RecipeCard.vue +++ b/src/components/RecipeCard.vue @@ -11,7 +11,6 @@ export default { <template> <div class="recipe_card"> - <img class="recipe_img" src="/dish-placeholder.png" :alt="`Bilde av {recipe.title}`"> <div class="recipe_details"> <div class="title"> <h2>{{ recipe.title }}</h2> @@ -29,11 +28,9 @@ export default { @import "../style.scss"; .recipe_card { - display: flex; - flex-direction: column; align-content: center; - height: 15rem; + height: 5rem; max-width: 30rem; gap: .5rem; margin-inline: .4rem; @@ -57,6 +54,7 @@ export default { } .recipe_details { + margin-top: .4em; margin-inline: 1em; display: flex; -- GitLab