aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/ErrorMessage.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/ErrorMessage.tsx b/src/components/ErrorMessage.tsx
index 165f399..650100d 100644
--- a/src/components/ErrorMessage.tsx
+++ b/src/components/ErrorMessage.tsx
@@ -14,6 +14,8 @@ export default function ErrorMessage(props: ErrorMessageProps): JSX.Element | nu
line-height: 1.1rem;
margin: 1rem 0 0;
visibility: ${props.show ? "visible" : "hidden"};
+ position: absolute;
+ z-index: -1;
`;
return (