diff options
Diffstat (limited to 'templates/menu_button.php')
| -rw-r--r-- | templates/menu_button.php | 2 |
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> |
