aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-02-08 22:03:28 +0200
committerGravatar GitHub <[email protected]>2021-02-08 22:03:28 +0200
commit128bb2a518d3322eeef0b7f3fc661aebb9791097 (patch)
tree0f861292ce746433ca6da19ede9c4a288a8f9cce /src
parentFix CSS visibilty attribute (diff)
Set z-index and position for error message CSS
Diffstat (limited to 'src')
-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 (