From 05d1c8167f0b94ec59b93efd2babdd14e02a9c4e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 16 Sep 2016 12:04:40 -0400 Subject: [PATCH] UX: Use a minimum height for the wizard so it doesn't move as much --- .../templates/components/wizard-step.hbs | 24 ++++++++++--------- app/assets/stylesheets/wizard.scss | 4 ++++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/wizard/templates/components/wizard-step.hbs b/app/assets/javascripts/wizard/templates/components/wizard-step.hbs index 8b568b66c36..82e8bd6d0d7 100644 --- a/app/assets/javascripts/wizard/templates/components/wizard-step.hbs +++ b/app/assets/javascripts/wizard/templates/components/wizard-step.hbs @@ -1,16 +1,18 @@ -{{#if step.title}} -

{{step.title}}

-{{/if}} +
+ {{#if step.title}} +

{{step.title}}

+ {{/if}} -{{#if step.description}} -

{{{step.description}}}

-{{/if}} + {{#if step.description}} +

{{{step.description}}}

+ {{/if}} -{{#wizard-step-form step=step}} - {{#each step.fields as |field|}} - {{wizard-field field=field step=step}} - {{/each}} -{{/wizard-step-form}} + {{#wizard-step-form step=step}} + {{#each step.fields as |field|}} + {{wizard-field field=field step=step}} + {{/each}} + {{/wizard-step-form}} +