fix: 修复页面过渡动画导致 fixed 定位失效和全局徽章被遮挡
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user