Browse Source

design fixes

master
Keviin Åberg Kultalahti 5 years ago
parent
commit
b22b987ea8
  1. 5
      packages/builder/src/components/feedback/NPSFeedbackForm.svelte

5
packages/builder/src/components/feedback/NPSFeedbackForm.svelte

@ -78,7 +78,7 @@
<Divider /> <Divider />
<RadioGroup bind:value={improvements} {options} /> <RadioGroup bind:value={improvements} {options} />
<div class="footer"> <div class="footer">
<Detail size="S">PAGE 2 OF 3</Detail> <Detail size="S">STEP 2 OF 3</Detail>
<ButtonGroup> <ButtonGroup>
<Button secondary on:click={() => (step -= 1)}>Previous</Button> <Button secondary on:click={() => (step -= 1)}>Previous</Button>
<Button <Button
@ -93,7 +93,7 @@
<Divider /> <Divider />
<TextArea bind:value={comment} placeholder="Add comments" /> <TextArea bind:value={comment} placeholder="Add comments" />
<div class="footer"> <div class="footer">
<Detail size="S">PAGE 3 OF 3</Detail> <Detail size="S">STEP 3 OF 3</Detail>
<ButtonGroup> <ButtonGroup>
<Button secondary on:click={() => (step -= 1)}>Previous</Button> <Button secondary on:click={() => (step -= 1)}>Previous</Button>
<Button disabled={!comment} cta on:click={submitFeedback} <Button disabled={!comment} cta on:click={submitFeedback}
@ -133,5 +133,6 @@
.footer { .footer {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
} }
</style> </style>

Loading…
Cancel
Save