mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 05:59:02 +00:00
remove conflict with corner buttons
This commit is contained in:
parent
5cab38d07c
commit
6008623812
@ -215,7 +215,7 @@ async function createPanel() {
|
|||||||
await createViews();
|
await createViews();
|
||||||
|
|
||||||
const cursorListenerSelector =
|
const cursorListenerSelector =
|
||||||
'.notion-cursor-listener > :last-child[style^="position: absolute"]';
|
'.notion-cursor-listener > .notion-sidebar-container ~ [style^="position: absolute"]';
|
||||||
await web.whenReady([cursorListenerSelector]);
|
await web.whenReady([cursorListenerSelector]);
|
||||||
document.querySelector(cursorListenerSelector).before($hoverTrigger, $panel);
|
document.querySelector(cursorListenerSelector).before($hoverTrigger, $panel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user