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}}
|
||||
<h1 class='wizard-step-title'>{{step.title}}</h1>
|
||||
{{/if}}
|
||||
<div class='wizard-step-contents'>
|
||||
{{#if step.title}}
|
||||
<h1 class='wizard-step-title'>{{step.title}}</h1>
|
||||
{{/if}}
|
||||
|
||||
{{#if step.description}}
|
||||
<p class='wizard-step-description'>{{{step.description}}}</p>
|
||||
{{/if}}
|
||||
{{#if step.description}}
|
||||
<p class='wizard-step-description'>{{{step.description}}}</p>
|
||||
{{/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}}
|
||||
</div>
|
||||
|
||||
<div class='wizard-step-footer'>
|
||||
<div class='wizard-progress'>
|
||||
|
|
|
@ -31,6 +31,10 @@ body.wizard {
|
|||
width: 100%;
|
||||
border: 1px solid #ccc;
|
||||
|
||||
.wizard-step-contents {
|
||||
min-height: 460px;
|
||||
}
|
||||
|
||||
.wizard-column-contents {
|
||||
padding: 1.2em;
|
||||
|
||||
|
|
Loading…
Reference in New Issue