fix(web/notifications): bottom center position (#33)

This commit is contained in:
mikigoalie
2025-07-26 16:07:52 +02:00
committed by GitHub
parent 301ff2daf8
commit 967682c449
2 changed files with 2 additions and 1 deletions

View File

@@ -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%)' };