Skip to content
Snippets Groups Projects
Commit 8e760058 authored by Jakob Karevold Grønhaug's avatar Jakob Karevold Grønhaug
Browse files

Merge branch 'planner' into 'main'

oppskrift-card

See merge request !27
parents 0ab2f62e 14e2eb86
No related branches found
No related tags found
1 merge request!27oppskrift-card
Pipeline #226251 failed
...@@ -11,7 +11,6 @@ export default { ...@@ -11,7 +11,6 @@ export default {
<template> <template>
<div class="recipe_card"> <div class="recipe_card">
<img class="recipe_img" src="/dish-placeholder.png" :alt="`Bilde av {recipe.title}`">
<div class="recipe_details"> <div class="recipe_details">
<div class="title"> <div class="title">
<h2>{{ recipe.title }}</h2> <h2>{{ recipe.title }}</h2>
...@@ -29,11 +28,9 @@ export default { ...@@ -29,11 +28,9 @@ export default {
@import "../style.scss"; @import "../style.scss";
.recipe_card { .recipe_card {
display: flex;
flex-direction: column;
align-content: center; align-content: center;
height: 15rem; height: 5rem;
max-width: 30rem; max-width: 30rem;
gap: .5rem; gap: .5rem;
margin-inline: .4rem; margin-inline: .4rem;
...@@ -57,6 +54,7 @@ export default { ...@@ -57,6 +54,7 @@ export default {
} }
.recipe_details { .recipe_details {
margin-top: .4em;
margin-inline: 1em; margin-inline: 1em;
display: flex; display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment