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, windowSize,
width: fabWidth, width: fabWidth,
height: fabWidth, height: fabWidth,
left: window.innerWidth - fabWidth, left: window.innerWidth - fabWidth - fabWidth / 2,
top: window.innerHeight - fabWidth, top: window.innerHeight - fabWidth - fabWidth / 2,
}; };
return ( return (