UX: Use a minimum height for the wizard so it doesn't move as much
This commit is contained in:
parent
4f9a7aa769
commit
05d1c8167f
|
@ -1,16 +1,18 @@
|
||||||
{{#if step.title}}
|
<div class='wizard-step-contents'>
|
||||||
<h1 class='wizard-step-title'>{{step.title}}</h1>
|
{{#if step.title}}
|
||||||
{{/if}}
|
<h1 class='wizard-step-title'>{{step.title}}</h1>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if step.description}}
|
{{#if step.description}}
|
||||||
<p class='wizard-step-description'>{{{step.description}}}</p>
|
<p class='wizard-step-description'>{{{step.description}}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#wizard-step-form step=step}}
|
{{#wizard-step-form step=step}}
|
||||||
{{#each step.fields as |field|}}
|
{{#each step.fields as |field|}}
|
||||||
{{wizard-field field=field step=step}}
|
{{wizard-field field=field step=step}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/wizard-step-form}}
|
{{/wizard-step-form}}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class='wizard-step-footer'>
|
<div class='wizard-step-footer'>
|
||||||
<div class='wizard-progress'>
|
<div class='wizard-progress'>
|
||||||
|
|
|
@ -31,6 +31,10 @@ body.wizard {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
|
|
||||||
|
.wizard-step-contents {
|
||||||
|
min-height: 460px;
|
||||||
|
}
|
||||||
|
|
||||||
.wizard-column-contents {
|
.wizard-column-contents {
|
||||||
padding: 1.2em;
|
padding: 1.2em;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue