Skip to content

Comments

fix: elevate tooltip box#546

Closed
Roaring30s wants to merge 1 commit intolivepeer:mainfrom
Roaring30s:fix-tooltip
Closed

fix: elevate tooltip box#546
Roaring30s wants to merge 1 commit intolivepeer:mainfrom
Roaring30s:fix-tooltip

Conversation

@Roaring30s
Copy link
Contributor

Description

This PR fixes a UI rendering issue on the Treasury Proposal page where the "Total Support" tooltip inside the Stats section were being clipped or obscured by the adjacent Tabs component (specifically the "Votes" count badge).

The collision occurred because the Tabs and Stats components shared the same stacking context level, and the tooltips inside the Stats component did not use Portals (mobile version of ExplorerTooltip component has portal), causing them to be rendered "below" the Tabs.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation update
  • style: Code style/formatting changes (no logic changes)
  • refactor: Code refactoring (no behavior change)
  • perf: Performance improvement
  • test: Adding or updating tests
  • build: Build system or dependency changes
  • ci: CI/CD changes
  • chore: Other changes

Related Issue(s)

Fixes: #544

Changes Made

  • Created a new stacking context for the Stats grid container by adding position: relative.
  • Elevated the Stats container using zIndex: 10

Testing

  • Tested locally
  • Added/updated tests
  • All tests passing

How to test (optional unless test is not trivial)

Visit: https://explorer.livepeer.org/treasury/66006623481122611164055448787310685219437663991315059574912127986740690984549?view=overview

Assure there is a vote count available and hover over the Total Support tooltip.

Impact / Risk

Risk level: Low

Impacted areas: UI

User impact: Removes visual bug

Rollback plan: PR revert

Screenshots / Recordings (if applicable)

None

Additional Notes

None

@vercel
Copy link

vercel bot commented Feb 5, 2026

@Roaring30s is attempting to deploy a commit to the Livepeer Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Feb 10, 2026

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

Project Deployment Actions Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Feb 10, 2026 2:41am

Request Review

@rickstaa
Copy link
Member

@Roaring30s thanks for your contribution. We could also handle this globally. Curious to hear your thoughts #556.

@rickstaa
Copy link
Member

Closing in favour of #556.

@rickstaa rickstaa closed this Feb 14, 2026
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.

Votes badge indicator colliding with tooltip on treasury proposal page

2 participants