diff options
author | 2021-01-21 20:13:51 +0200 | |
---|---|---|
committer | 2021-01-21 20:13:51 +0200 | |
commit | 8d3469e69d1030b5d83108c6e967bffbb9e1d9a9 (patch) | |
tree | 4d7454671f805f07d6c6861318311dac5970196a /src/components | |
parent | Implement dynamic showing of form submitted text (diff) |
Use relative units
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ErrorMessage.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ErrorMessage.tsx b/src/components/ErrorMessage.tsx index 55e3759..1cf3cbc 100644 --- a/src/components/ErrorMessage.tsx +++ b/src/components/ErrorMessage.tsx @@ -9,9 +9,9 @@ interface ErrorMessageProps { const styles = css` color: ${colors.error}; - font-size: 18px; - line-height: 15px; - margin: 15px 0 0; + font-size: 1.15rem; + line-height: 1.1rem; + margin: 1rem 0 0; `; export default function ErrorMessage(props: ErrorMessageProps): JSX.Element|null { |