From e05ebf5b6279907cafdcae7b7afb7c88c00f2592 Mon Sep 17 00:00:00 2001 From: Jesse Brault Date: Sun, 8 Feb 2026 12:57:23 -0600 Subject: [PATCH] MME-17 Spacing between ingredients table and add ingredient button. --- .../enter-recipe-data/enter-recipe-data.css | 6 + .../enter-recipe-data/enter-recipe-data.html | 109 +++++++++--------- 2 files changed, 62 insertions(+), 53 deletions(-) diff --git a/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.css b/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.css index f0915a6..918b5a9 100644 --- a/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.css +++ b/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.css @@ -21,6 +21,12 @@ textarea { padding: 0; } +.ingredients-container { + display: flex; + flex-direction: column; + row-gap: 10px; +} + .mat-column-reorder { width: 32px; text-align: center; diff --git a/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.html b/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.html index 75bbe1d..e5bc9c4 100644 --- a/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.html +++ b/src/app/pages/recipe-upload-page/steps/enter-recipe-data/enter-recipe-data.html @@ -24,65 +24,68 @@ -

Ingredients

+
+

Ingredients

- - - - - +
- -
+ + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - -
+ + Amount - {{ model.draft.amount }} - Amount + {{ model.draft.amount }} + Name - {{ model.draft.name }} - Name + {{ model.draft.name }} + Notes - {{ model.draft.notes }} - Notes + {{ model.draft.notes }} + Actions - - - - - - Actions + + + + + +
- + + + + + +

Images