From 6e15a8c439834808477ff0859da7561a2caea3cd Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Wed, 31 Mar 2021 22:09:25 -0800 Subject: [PATCH] Feature/meal planner (#246) * fixes duplicate recipes in meal-plan #221 * add quick week option * scope css * add mealplanner info Co-authored-by: hay-kot --- docs/docs/changelog/v0.4.1.md | 2 + frontend/src/App.vue | 9 +-- .../src/components/MealPlan/MealPlanNew.vue | 59 +++++++++++++++---- .../Recipe/RecipeViewer/Ingredients.vue | 2 +- 4 files changed, 54 insertions(+), 18 deletions(-) diff --git a/docs/docs/changelog/v0.4.1.md b/docs/docs/changelog/v0.4.1.md index e4ff85e4e8bd..747fa6a8473a 100644 --- a/docs/docs/changelog/v0.4.1.md +++ b/docs/docs/changelog/v0.4.1.md @@ -10,4 +10,6 @@ - Tags redirect to new tag pages - Categories redirect to category pages - Fix Backup download blocked by authentication +- Random meal-planner will no longer duplicate recipes unless no other options +- New Quick Week button to generate next 5 day week of recipe slots. diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 69b2e3c0f3c1..ecba408819c3 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -160,11 +160,13 @@ export default { .notify-base { color: white !important; + /* min-height: 50px; */ margin-right: 60px; margin-bottom: -5px; opacity: 0.9 !important; } + *::-webkit-scrollbar { width: 0.25rem; } @@ -176,11 +178,4 @@ export default { *::-webkit-scrollbar-thumb { background: grey; } - -.notify-base { - color: white !important; - margin-right: 60px; - margin-bottom: -5px; - opacity: 0.9 !important; -} diff --git a/frontend/src/components/MealPlan/MealPlanNew.vue b/frontend/src/components/MealPlan/MealPlanNew.vue index 51d4326b390a..5c297eb6dba9 100644 --- a/frontend/src/components/MealPlan/MealPlanNew.vue +++ b/frontend/src/components/MealPlan/MealPlanNew.vue @@ -1,8 +1,12 @@