fab auto hide

This commit is contained in:
Gabe Yuan
2023-08-08 15:02:34 +08:00
parent 9c38dd8ef9
commit 3e53e2803b

View File

@@ -67,8 +67,8 @@ export default function Action() {
windowSize,
width: fabWidth,
height: fabWidth,
left: window.innerWidth - fabWidth,
top: window.innerHeight - fabWidth,
left: window.innerWidth - fabWidth - fabWidth / 2,
top: window.innerHeight - fabWidth - fabWidth / 2,
};
return (