mirror of
https://github.com/horizon-rust/horizon-site.git
synced 2026-12-03 19:12:41 +07:00
[PR #39] [MERGED] Hub: draw the moon below the header so it stops covering Download #41
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
horizon-rust/horizon-site#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/horizon-rust/horizon-site/pull/39
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111
Base:
main← Head:fix/hub-moon-button📝 Commits (1)
1023708Hub: draw the moon below the header so it stops covering Download📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
app/hub/market/page.tsx(+1 -1)📝
app/hub/page.tsx(+1 -1)📄 Description
Players reported (2026-11-01) that on /hub the decorative moon covers the Download button. Fix only, no design change.
Cause.
PixelAuroradraws its moon atmoonTop = 32px, right where the fixed header's buttons are. The header isz-50, so clicks already reached the button, but the button's background is translucent (bg-white/10), so the cream moon showed through it and hid the label.Fix.
/huband/hub/marketnow passmoonTop={104}, the value the mod pages (app/mods/[id]/page.tsx) already use: the moon sits just below the 72 px header. Same moon, same size, same horizontal place; two one-line changes.Before / after (production build, Chromium; moon box from the canvas pixels, button box from
getBoundingClientRect, hit test withdocument.elementFromPointat the button's centre):/hub/marketmeasured the same. The moon stays clear of the hero text at every width.npm run lintandnpm run buildpass.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.