chore: cleanup perps top movers buttons cp-7.81.0#31147
Conversation
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: SmokePerps is selected because the changed component (PerpsTopMoversSection → PerpsHomeView) is directly exercised by Perps smoke tests, and the styling change should be validated to ensure it doesn't break layout or accessibility. SmokeWalletPlatform is selected per the SmokePerps tag description which states: 'Perps is also a section inside the Trending tab (SmokeWalletPlatform); changes to Perps views affect Trending.' SmokeConfirmations is NOT selected because the styling change doesn't affect the Add Funds transaction flow - it only modifies the visual appearance of a toggle pill component. No other tags are relevant as this change is isolated to the Perps UI component with no cross-cutting impact. Performance Test Selection: |
Description
Makes Gainers/Loser buttons larger and more accessible
Changelog
CHANGELOG entry: null
Related issues
Fixes: css bug
Manual testing steps
N/A
Screenshots/Recordings
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Cosmetic Tailwind class changes on a Perps home UI toggle with no logic, data, or auth impact.
Overview
Updates the Gainers / Losers toggle styling in
PerpsTopMoversSectionso the pills are easier to tap and read.TogglePillnow usesrounded-lginstead ofrounded-xl, addsjustify-centerandpy-1for vertical padding and centered label alignment—matching the PR goal of larger, more accessible buttons.Reviewed by Cursor Bugbot for commit 52ad854. Bugbot is set up for automated code reviews on this repo. Configure here.