From 635bec7f641461122c96f64eaa9a360f228770e9 Mon Sep 17 00:00:00 2001 From: Anika Raemer Date: Wed, 17 Sep 2025 20:15:49 +0200 Subject: [PATCH] alignment of recipe list --- .../src/components/recipes/RecipeListPage.tsx | 55 ++++--------------- 1 file changed, 11 insertions(+), 44 deletions(-) diff --git a/frontend/src/components/recipes/RecipeListPage.tsx b/frontend/src/components/recipes/RecipeListPage.tsx index cf9c5ae..f086f1d 100644 --- a/frontend/src/components/recipes/RecipeListPage.tsx +++ b/frontend/src/components/recipes/RecipeListPage.tsx @@ -40,7 +40,7 @@ export default function RecipeListPage() { /*Container spanning entire screen used to center content horizontally */
{/* Container defining the maximum width of the content */} -
+
{/* Header - remains in position when scrolling */}

Recipes

@@ -65,51 +65,18 @@ export default function RecipeListPage() {
{/*Content - List of recipe cards */} -
- {recipeList.map((recipe) => ( - - ))} +
+
+ {recipeList.map((recipe) => ( + + ))} +
) } - - // /*Container spanning entire screen used to center content horizontally */ - //
- // {/* Container defining the maximum width of the content */} - //
- // {/* Header - remains in position when scrolling */} - //
- //

Recipes

- //
- // {/* Number of recipes inlist */} - // - // {/* Search field */} - // - // {/* Add recipe button */} - // - //
- //
- // {/*Content - List of recipe cards */} - //
- // {recipeList.map((recipe) => ( - // - // ))} - //
- //
- //