From 600862381255e6fb2d317b8d433def74f0935ffb Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Mon, 8 Nov 2021 22:15:35 +1100 Subject: [PATCH] remove conflict with corner buttons --- api/components/panel.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/components/panel.mjs b/api/components/panel.mjs index 82ce3e3..3613372 100644 --- a/api/components/panel.mjs +++ b/api/components/panel.mjs @@ -215,7 +215,7 @@ async function createPanel() { await createViews(); const cursorListenerSelector = - '.notion-cursor-listener > :last-child[style^="position: absolute"]'; + '.notion-cursor-listener > .notion-sidebar-container ~ [style^="position: absolute"]'; await web.whenReady([cursorListenerSelector]); document.querySelector(cursorListenerSelector).before($hoverTrigger, $panel); }