Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: enhance notification className to support additional styles

Piyush Gupta7d57f29894ec
diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx
index df07bf5df3..58b9179bd9 100644
--- a/frontend/src/components/notifications/Notifications.tsx
+++ b/frontend/src/components/notifications/Notifications.tsx
@@ -68,7 +68,7 @@ export const createNotification = (
autoClose: toastProps.autoClose || 15000,
theme: "dark",
type: myProps?.type || "info",
- className: "pointer-events-auto"
+ className: `pointer-events-auto ${toastProps.className}`
});
export const NotificationContainer = () => (