diff options
| author | 2021-01-21 20:13:51 +0200 | |
|---|---|---|
| committer | 2021-01-21 20:13:51 +0200 | |
| commit | 8d3469e69d1030b5d83108c6e967bffbb9e1d9a9 (patch) | |
| tree | 4d7454671f805f07d6c6861318311dac5970196a /src/pages | |
| parent | Implement dynamic showing of form submitted text (diff) | |
Use relative units
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/FormPage.tsx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx index 72b073f..21303ab 100644 --- a/src/pages/FormPage.tsx +++ b/src/pages/FormPage.tsx @@ -107,11 +107,12 @@ function FormPage(): JSX.Element {      useEffect(() => {          getForm(id).then(form => {              setForm(form); +            setSent(true);          });      }, []);      if (form && sent) { -        const thanksStyle = css`font-family: "Uni Sans", "Hind", "Arial", sans-serif; margin-top: 250px;`; +        const thanksStyle = css`font-family: "Uni Sans", "Hind", "Arial", sans-serif; margin-top: 15.5rem;`;          const divStyle = css`width: 80%;`;          return (              <div> | 
