aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/menu_button.php
diff options
context:
space:
mode:
authorwinter2025-02-16 20:09:16 +0000
committerwinter2025-02-16 20:09:16 +0000
commit645e8bd0b2cf5f020585047d683ed0b26e892204 (patch)
treefcf5b73eaf2041e39d439e3ead41c0ceff7da2d1 /templates/menu_button.php
parent5a44137ddea7b3a6d7f68cbe71594f7633d6e9a6 (diff)
share button in context menus
Diffstat (limited to 'templates/menu_button.php')
-rw-r--r--templates/menu_button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_button.php b/templates/menu_button.php
index da47569..4d5dc48 100644
--- a/templates/menu_button.php
+++ b/templates/menu_button.php
@@ -4,7 +4,7 @@
set menu to next .popupMenu
toggle @hidden on menu
measure me then set pos to it
- set menu.style.top to `${scrollY + pos.top}px`
+ set menu.style.top to `${(scrollY + pos.top) - 8}px`
set menu.style.right to `${(scrollX + innerWidth) - pos.right}px`
on click from elsewhere set @hidden of next .popupMenu to false
"></button>