Skip to content

Fix: Leaderboard filter dropdown alignment#1398

Open
Copilot wants to merge 2 commits intomainfrom
copilot/fix-leaderboard-filter-alignment
Open

Fix: Leaderboard filter dropdown alignment#1398
Copilot wants to merge 2 commits intomainfrom
copilot/fix-leaderboard-filter-alignment

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

The time period filter dropdown in the leaderboard's top performers section was misaligned — both the title and filter were centered together, causing the filter to visually float off to the right rather than anchoring to the container edge.

Changes Made

  • leaderboard.css.title-filter-container: Changed justify-content: centerjustify-content: space-between, pinning the "recode hive Top Performers" title to the left and the filter to the right
  • leaderboard.css.filter-label: Added missing styles for the label element (referenced in TSX but had no CSS rules), including light/dark mode variants
/* Before */
.title-filter-container {
  justify-content: center;
}

/* After */
.title-filter-container {
  justify-content: space-between;
}

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Dependencies

  • No new dependencies.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 4, 2026 1:42pm

Copilot AI linked an issue May 4, 2026 that may be closed by this pull request
@sanjay-kv sanjay-kv marked this pull request as ready for review May 4, 2026 13:39
Copilot AI changed the title [WIP] Fix alignment issue for leaderboard filter Fix: Leaderboard filter dropdown alignment May 4, 2026
Copilot AI requested a review from sanjay-kv May 4, 2026 13:42
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]: Aligment issue for filter on leaderboard

2 participants