From 3046d16ff321a6d4f1dc62ca550efb2183934c43 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 31 Jul 2019 12:31:15 +1000 Subject: [PATCH] Style tweaks --- .../wizard/templates/custom.step.hbs | 20 ++++++++++--------- assets/stylesheets/wizard/wizard_custom.scss | 2 ++ 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/assets/javascripts/wizard/templates/custom.step.hbs b/assets/javascripts/wizard/templates/custom.step.hbs index cd4bec24..3c26bf5c 100644 --- a/assets/javascripts/wizard/templates/custom.step.hbs +++ b/assets/javascripts/wizard/templates/custom.step.hbs @@ -1,13 +1,15 @@ -
-
- {{stepMessage.text}} +{{#if stepMessage}} +
+
+ {{stepMessage.text}} +
+ {{#if showReset}} + + {{i18n 'wizard.reset'}} + + {{/if}}
- {{#if showReset}} - - {{i18n 'wizard.reset'}} - - {{/if}} -
+{{/if}} {{#if step.permitted}} {{wizard-step step=step wizard=wizard diff --git a/assets/stylesheets/wizard/wizard_custom.scss b/assets/stylesheets/wizard/wizard_custom.scss index db17c350..dd4212e6 100644 --- a/assets/stylesheets/wizard/wizard_custom.scss +++ b/assets/stylesheets/wizard/wizard_custom.scss @@ -119,6 +119,8 @@ } .wizard-field { + margin-bottom: 1em; + &.tip { margin-top: auto; }