Skip to content
Snippets Groups Projects
Commit 8689b43f authored by Katarzyna Szlejter's avatar Katarzyna Szlejter
Browse files

small css change

parent f8e33de2
No related branches found
No related tags found
1 merge request!30Generate weekmenu
Pipeline #226525 passed
......@@ -16,7 +16,7 @@ export default {
</script>
<template>
<h3>{{recipe.day}}</h3>
<h3 class="recipe-day">{{recipe.day}}</h3>
<div class="recipe-card" @click="redirectToRecipe">
<div class="recipe-details">
......@@ -34,7 +34,12 @@ export default {
<style scoped lang="scss">
@import "../style.scss";
.recipe-day {
/*
text-align: center;
*/
margin-bottom: 5px;
}
.recipe-card {
align-content: center;
cursor: pointer;
......@@ -47,9 +52,9 @@ export default {
overflow: hidden;
margin-bottom: 20px;
box-shadow: 2px 2px $green;
transition: all ease 150ms;
&:hover {
box-shadow: 4px 4px $green;
}
......@@ -63,7 +68,7 @@ export default {
.recipe-details {
margin-top: .4em;
margin-inline: 1em;
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
......
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