diff --git a/web/src/features/dev/debug/notification.ts b/web/src/features/dev/debug/notification.ts index ea3f55d..3545ddb 100644 --- a/web/src/features/dev/debug/notification.ts +++ b/web/src/features/dev/debug/notification.ts @@ -26,6 +26,7 @@ export const debugCustomNotification = () => { title: 'Error', description: 'Notification description', type: 'error', + position: "bottom" }, }, ]); diff --git a/web/src/features/notifications/NotificationWrapper.tsx b/web/src/features/notifications/NotificationWrapper.tsx index de8af54..3139aee 100644 --- a/web/src/features/notifications/NotificationWrapper.tsx +++ b/web/src/features/notifications/NotificationWrapper.tsx @@ -61,7 +61,7 @@ const getAnimation = (visible: boolean, position: string) => { animation = { from: 'X(0px)', to: 'X(-100%)' }; } else if (position === 'top-center') { animation = { from: 'Y(0px)', to: 'Y(-100%)' }; - } else if (position === 'bottom') { + } else if (position === 'bottom-center') { animation = { from: 'Y(0px)', to: 'Y(100%)' }; } else { animation = { from: 'X(0px)', to: 'X(100%)' };