From 31ee2a507db9bd668bc6e1a917cd2fe2bbb733d8 Mon Sep 17 00:00:00 2001 From: Samuel Andert Date: Tue, 8 Aug 2023 13:04:02 +0200 Subject: [PATCH] updated button design of Forms --- .../components/refactor/ComposerForm.svelte | 81 +++++++++---------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/src/lib/components/refactor/ComposerForm.svelte b/src/lib/components/refactor/ComposerForm.svelte index 5ec4820..ea6b789 100644 --- a/src/lib/components/refactor/ComposerForm.svelte +++ b/src/lib/components/refactor/ComposerForm.svelte @@ -167,13 +167,6 @@

{fields[$state.context.currentField].description}

- {/if} {#if fields[$state.context.currentField].type === 'text'} @@ -205,43 +198,43 @@ submitted {/if}
- {#each $possibleActions as action (action)} - {#if action === 'PREV'} - - {/if} - {/each} - - {#each $possibleActions as action (action)} - {#if action !== 'NEXT' && action !== 'PREV' && action !== 'SUBMIT'} - - {/if} - {/each} - - {#each $possibleActions as action (action)} - {#if action === 'NEXT' || action === 'SUBMIT'} - - {/if} - {/each} +
+ {#each $possibleActions as action (action)} + {#if action === 'PREV'} + + {/if} + {/each} +
+
+ {#each $possibleActions as action (action)} + {#if action !== 'NEXT' && action !== 'PREV' && action !== 'SUBMIT'} + + {/if} + {/each} +
+
+ {#each $possibleActions as action (action)} + {#if action === 'NEXT' || action === 'SUBMIT'} + + {/if} + {/each} +