diff options
author | 2021-02-08 22:03:28 +0200 | |
---|---|---|
committer | 2021-02-08 22:03:28 +0200 | |
commit | 128bb2a518d3322eeef0b7f3fc661aebb9791097 (patch) | |
tree | 0f861292ce746433ca6da19ede9c4a288a8f9cce | |
parent | Fix CSS visibilty attribute (diff) |
Set z-index and position for error message CSS
-rw-r--r-- | src/components/ErrorMessage.tsx | 2 |
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 ( |