Skip to content

fix: fix admin dropdown menu overflow at viewport bottom#335

Merged
piffio merged 1 commit intomainfrom
fix/295-bug-admin-links-dot-menu-overflows-viewport-for-last-item-in-page
Apr 24, 2026
Merged

fix: fix admin dropdown menu overflow at viewport bottom#335
piffio merged 1 commit intomainfrom
fix/295-bug-admin-links-dot-menu-overflows-viewport-for-last-item-in-page

Conversation

@piffio
Copy link
Copy Markdown
Owner

@piffio piffio commented Apr 24, 2026

Implement smart positioning for dropdown menus in admin pages to prevent overflow when opening near the bottom of the viewport. The menu now detects available space and flips to open upward when needed.

Changes:

  • Added viewport-aware positioning to admin/links dropdown toggle
  • Added viewport-aware positioning to admin/users dropdown toggle
  • Menu opens upward when space below is insufficient
  • Maintains default downward opening for normal cases

Closes #295

Implement smart positioning for dropdown menus in admin pages to prevent
overflow when opening near the bottom of the viewport. The menu now
detects available space and flips to open upward when needed.

Changes:
- Added viewport-aware positioning to admin/links dropdown toggle
- Added viewport-aware positioning to admin/users dropdown toggle
- Menu opens upward when space below is insufficient
- Maintains default downward opening for normal cases
@piffio piffio deployed to ephemeral April 24, 2026 07:19 — with GitHub Actions Active
@github-actions
Copy link
Copy Markdown

🚀 Ephemeral Environment Deployed (Unified Worker)

Application: https://rushomon-pr-335.piffio.workers.dev

This unified Worker deployment serves both frontend and backend from the same domain for better security (httpOnly cookies work correctly).

This environment will be automatically cleaned up when the PR is closed.

Worker: rushomon-pr-335


💡 Tip: To skip preview deployment, add the skip-preview label to this PR.

@piffio piffio merged commit 66de644 into main Apr 24, 2026
8 checks passed
@github-actions
Copy link
Copy Markdown

🧹 Ephemeral Environment Cleaned Up

Resources for PR #335 cleanup summary:

Resource Status
Worker rushomon-pr-335 ✅ Deleted
KV Namespace URL_MAPPINGS_pr_335 ✅ Deleted
D1 Database rushomon-pr-335 ✅ Deleted
R2 Bucket rushomon-assets-pr-335 ✅ Deleted

Cleanup completed automatically when PR was closed.

Note: If this PR had the skip-preview label, resources were still cleaned up because they were deployed before the label was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Admin links dot menu overflows viewport for last item in page

1 participant