fix: prevent drag cursor from covering entire page when Git dropdown is open
This commit is contained in:
1 parent
c4811e8d80
commit
56e42b9a9a
1 file changed
+3
-1
+3
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user