Skip to content

Commit 8bb7399

Browse files
committed
recipe card
1 parent 35b179f commit 8bb7399

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

frontend/src/components/RecipeCard/RecipeCard.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,15 @@ export const RecipeCard = ({ recipe, favoriteRecipes, toggleFavorite }: Props) =
5454
}}
5555
alt={recipe.title}
5656
/>
57-
<Box ref={textRef} flexDirection={"column"} display={"flex"} alignItems={"flex-start"} p={"16px"}>
57+
<Box
58+
ref={textRef}
59+
flexDirection={"column"}
60+
display={"flex"}
61+
alignItems={"flex-start"}
62+
p={"16px"}
63+
position={"relative"}
64+
width={"100%"}
65+
>
5866
{session?.access_token && (
5967
<div
6068
className={styles.icon}

0 commit comments

Comments
 (0)