Skip to content

fix: prevent rank change tooltip from overlapping sticky leaderboard header#278

Open
shineetejol9 wants to merge 1 commit into
codepvg:mainfrom
shineetejol9:fix/rank-tooltip-sticky-header
Open

fix: prevent rank change tooltip from overlapping sticky leaderboard header#278
shineetejol9 wants to merge 1 commit into
codepvg:mainfrom
shineetejol9:fix/rank-tooltip-sticky-header

Conversation

@shineetejol9

Copy link
Copy Markdown

Description

This PR fixes the rank change tooltip being partially hidden behind the sticky leaderboard header on narrower screen widths.

The tooltip position is adjusted for the affected top leaderboard rows, ensuring it remains fully visible while preserving the existing behavior for the remaining rows.

Linked Issue

Fixes #266

Changes Made

  • Prevented rank change tooltips from overlapping the sticky leaderboard header.
  • Adjusted tooltip positioning for the affected leaderboard rows.
  • Preserved the existing tooltip behavior for the rest of the leaderboard.

Type of Change

  • Bug fix
  • New feature
  • UI/Visual update
  • Documentation update
  • Refactor

Testing

  • Tested locally
  • Tested on mobile viewport (if applicable)
  • No console errors introduced

Checklist

  • My code follows the project's coding style
  • I have formatted my code locally by running npx prettier --write . before submitting
  • I am submitting my PR from a dedicated feature/* branch, not the main branch
  • I have performed a self-review of my code
  • My changes generate no new warnings or errors
  • I have updated documentation if required
  • I have linked the relevant issue

Screenshots / Screen Recording

image image

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for submitting a pull request.

Please ensure your changes comply with the project's contribution guidelines and that all workflow checks pass successfully.

Formatting and Branching

  • Please confirm you have formatted your code locally using npx prettier --write . before requesting a review.
  • Ensure this PR is made from a feature/* branch and not main.

Note: This project is currently maintained by a solo maintainer, so reviews and responses may sometimes take a little time. Thanks for your patience.

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: Rank change tooltip renders underneath sticky leaderboard header

1 participant