diff --git a/frontends/bringrss_flask/static/js/contextmenus.js b/frontends/bringrss_flask/static/js/contextmenus.js index 3f7358d..6040a75 100644 --- a/frontends/bringrss_flask/static/js/contextmenus.js +++ b/frontends/bringrss_flask/static/js/contextmenus.js @@ -36,7 +36,7 @@ function show_menu(event, menu) const over_right = Math.max(0, event.clientX + menu.offsetWidth - html.clientWidth); const over_bottom = Math.max(0, event.clientY + menu.offsetHeight - html.clientHeight); const left = event.clientX - over_right; - const top = event.clientY - over_bottom; + const top = event.pageY - over_bottom; menu.style.left = left + "px"; menu.style.top = top + "px"; } diff --git a/frontends/bringrss_flask/templates/root.html b/frontends/bringrss_flask/templates/root.html index 1fc8ef9..06cebc5 100644 --- a/frontends/bringrss_flask/templates/root.html +++ b/frontends/bringrss_flask/templates/root.html @@ -98,7 +98,7 @@ body .contextmenu.open_contextmenu { display: initial; - position: fixed; + position: absolute; } .icon,