Make in-game leaderboard and menu bar flush with screen corners - #5395
Conversation
Remove the min-[1200px] 1rem corner offsets from the top-left leaderboard and top-right menu bar, and drop the matching rounded-lg overrides so the corners touching the screen edge stay square, as they already did below 1200px. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review. WalkthroughThe change keeps both sidebars flush with the viewport edges at all widths. It also applies consistent corner rounding without large-screen overrides. ChangesSidebar alignment
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The responsive sidebar styling change was verified at the tested viewport and introduces no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Sidebars meet the edges with care Comment |
🤖 Claude Code ReviewVerdict: Approve with minor follow-ups — 0 blocking issues, 2 low-severity issues. Findings by severity: 0 critical, 0 high, 2 low.
|
Addresses the Claude review: OvertimePanel, DoomsdayClockPanel and ReplayPanel share the now-flush right-0 wrapper, so their min-[1200px]:rounded-lg rounded corners against the screen edge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Review round 1: all 3 findings fixed in 07fe48f — dropped the stale |
🤖 Claude Code ReviewVerdict: Approve — no issues found. Findings by severity: 0 critical, 0 high, 0 medium, 0 low. No issues found. Checked for bugs and CLAUDE.md compliance across all changed files ( This diff is a self-consistent set of Tailwind class-string edits removing 🤖 Generated with Claude Code |
…frontio#5395) ## Summary - Remove the `min-[1200px]:top-4/left-4/right-4` offsets that floated the in-game top-left leaderboard and top-right menu bar 1rem off the screen corners on wide screens; both are now `top-0` + `left-0`/`right-0` at all widths. - Drop the matching `min-[1200px]:rounded-lg` overrides so the corners touching the screen edge stay square, keeping the flush styling (`rounded-br-lg`/`rounded-bl-lg`) that narrow screens already used. ## Test plan - Drove a headless singleplayer game at a 1600×900 viewport: measured bounding rects show the leaderboard at top 0/left 0 and the menu bar's right edge exactly at the viewport width (top 0); screenshot confirms both pinned to their corners. - `npx prettier --check` clean on the touched files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Summary
min-[1200px]:top-4/left-4/right-4offsets that floated the in-game top-left leaderboard and top-right menu bar 1rem off the screen corners on wide screens; both are nowtop-0+left-0/right-0at all widths.min-[1200px]:rounded-lgoverrides so the corners touching the screen edge stay square, keeping the flush styling (rounded-br-lg/rounded-bl-lg) that narrow screens already used.Test plan
npx prettier --checkclean on the touched files.🤖 Generated with Claude Code