Skip to content

Commit 44f0e34

Browse files
committed
Update CustomAlert component to adjust z-index for improved visibility
1 parent 75d5d07 commit 44f0e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Notifications/CustomAlert.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const CustomAlert = ({ message, type, onClose }) => {
1010

1111
return (
1212
<div
13-
className={`fixed top-[90px] z-200 right-4 p-4 rounded shadow-lg text-white ${alertTypeStyles[type]}`}
13+
className={`fixed top-[90px] z-50 right-4 p-4 rounded shadow-lg text-white ${alertTypeStyles[type]}`}
1414
role="alert"
1515
>
1616
<span>{message}</span>

0 commit comments

Comments
 (0)