fix: 修复页面过渡动画导致 fixed 定位失效和全局徽章被遮挡

This commit is contained in:
2026-02-26 16:49:06 +08:00
parent add9733bc9
commit b1cbf0d589
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -20,9 +20,9 @@ function FrozenRoute({ children }: PropsWithChildren) {
}
const variants = {
enter: { opacity: 0, y: 12 },
center: { opacity: 1, y: 0 },
exit: { opacity: 0, y: -12 },
enter: { opacity: 0 },
center: { opacity: 1 },
exit: { opacity: 0 },
};
export default function PageTransition({ children }: PropsWithChildren) {