From 128bb2a518d3322eeef0b7f3fc661aebb9791097 Mon Sep 17 00:00:00 2001
From: ks129 <45097959+ks129@users.noreply.github.com>
Date: Mon, 8 Feb 2021 22:03:28 +0200
Subject: Set z-index and position for error message CSS

---
 src/components/ErrorMessage.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/ErrorMessage.tsx')

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 (
-- 
cgit v1.2.3

