aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/FormPage.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx
index cf6947b..72b073f 100644
--- a/src/pages/FormPage.tsx
+++ b/src/pages/FormPage.tsx
@@ -29,6 +29,7 @@ interface NavigationProps {
class Navigation extends React.Component<NavigationProps> {
submitStyles = css`
text-align: right;
+ white-space: nowrap;
button {
padding: 0.5rem 4rem;
@@ -110,12 +111,13 @@ function FormPage(): JSX.Element {
}, []);
if (form && sent) {
- const thanksStyle = css`font-family: "Uni Sans", "Hind", "Arial", sans-serif;`;
+ const thanksStyle = css`font-family: "Uni Sans", "Hind", "Arial", sans-serif; margin-top: 250px;`;
+ const divStyle = css`width: 80%;`;
return (
<div>
<HeaderBar title={form.name} description={form.description}/>
- <div css={[unselectable, containerStyles]}>
- <h3 css={thanksStyle}>Thanks for your response!</h3>
+ <div css={[unselectable, containerStyles, divStyle]}>
+ <h3 css={thanksStyle}>{form.submitted_text ?? "Thanks for your response!"}</h3>
<div className={ "return_button closed" }>
<Link to="/" css={returnStyles}>Return Home</Link>
</div>