We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01f700 commit 9f441c3Copy full SHA for 9f441c3
src/Components/utils/Alert.jsx
@@ -23,9 +23,9 @@ const Alert = () => {
23
24
return (
25
26
- <div className={`alert alert-${alert.type} absolute top-20 left-1/3 rounded-large -translate-x-1/4 -translate-y-1/4 w-[60vw] z-30 opacity-85 ease-linear duration-400`}>
+ <div className={`alert alert-${alert.type} fixed top-20 left-1/3 rounded-large -translate-x-1/4 -translate-y-1/4 w-[60vw] z-50 opacity-85 ease-linear duration-400`}>
27
{alert.message}
28
- <AiOutlineClose onClick={() => dispatch(clearAlert())} className='absolute right-4 top-5'/>
+ <AiOutlineClose onClick={() => dispatch(clearAlert())} className='absolute right-4 top-5'/>
29
</div>
30
);
31
};
0 commit comments