fix: prevent drag cursor from covering entire page when Git dropdown is open

This commit is contained in:
YuanShiJiLoong committed 2026-02-23 22:14:17 +09:00
1 parent c4811e8d80
commit 56e42b9a9a
1 file changed
+3 -1
+3 -1
View File
@@ -395,11 +395,13 @@ export default function Home() {
{showGitMenu && (
<>
<div
style={{ position: 'fixed', inset: 0, zIndex: 39 }}
style={{ position: 'fixed', inset: 0, zIndex: 39, cursor: 'default' }}
onClick={() => setShowGitMenu(false)}
onPointerDown={(e) => e.stopPropagation()}
/>
<div
className="git-menu-popup"
onPointerDown={(e) => e.stopPropagation()}
style={{
position: 'absolute',
bottom: '52px',