Added more Responsive to Mobile Device

This commit is contained in:
2026-02-16 19:03:56 +01:00
parent 1ec4c935c9
commit d2df24106c
10 changed files with 744 additions and 391 deletions

View File

@@ -51,7 +51,7 @@ export function NotificationProvider({ children }: { children: ReactNode }) {
return (
<NotificationContext.Provider value={{ showNotification }}>
{children}
<div className="fixed top-20 right-4 z-50 flex flex-col gap-2 max-w-md w-full">
<div className="fixed top-20 right-4 z-50 flex flex-col gap-2 w-[calc(100vw-2rem)] sm:w-full sm:max-w-md">
{notifications.map((notification) => (
<NotificationToast
key={notification.id}