From 74b1e6236b73cc1997242402b7d757b8f1cfb566 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Thu, 1 Jul 2021 17:44:46 -0800 Subject: [PATCH] collapse steps on check (#609) * collapse steps on check * add grad-and-drop reorder of steps * fix-title bar Co-authored-by: hay-kot --- .../components/Recipe/Parts/Instructions.vue | 158 +++++++++++------- 1 file changed, 93 insertions(+), 65 deletions(-) diff --git a/frontend/src/components/Recipe/Parts/Instructions.vue b/frontend/src/components/Recipe/Parts/Instructions.vue index 35f5dd66d291..8bd05a4f91b0 100644 --- a/frontend/src/components/Recipe/Parts/Instructions.vue +++ b/frontend/src/components/Recipe/Parts/Instructions.vue @@ -2,74 +2,98 @@

{{ $t("recipe.instructions") }}

-
- - - - - - - - - - - - {{ $globals.icons.delete }} - - {{ $t("recipe.step-index", { step: index + 1 }) }} - - {{ !showTitleEditor[index] ? $t('recipe.insert-section') : $t('recipe.remove-section') }} - - - - - - - - - - - -
+ +
+ + + + + + + + + + + + {{ $globals.icons.delete }} + + + {{ $t("recipe.step-index", { step: index + 1 }) }} + + + + {{ $globals.icons.checkboxMarkedCircle }} + + + + + {{ !showTitleEditor[index] ? $t("recipe.insert-section") : $t("recipe.remove-section") }} + + {{ $globals.icons.arrowUpDown }} + + + + + + +
+ + + +
+
+
+
+
+
- +