fix: fix text size when the user increases it cp-7.73.0#28340
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These are purely cosmetic/layout changes with no logic, controller, navigation, or state management impact. Component usage:
Per SmokePerps tag description, selecting SmokePerps also requires SmokeWalletPlatform (Trending section) and SmokeConfirmations (Add Funds deposits are on-chain transactions). However, since the changes don't touch any confirmation or transaction flows, and the risk is low, I'm including SmokeWalletPlatform as the primary coverage area. SmokePerps is included because the component is directly used in PerpsMarketDetailsView. No accounts, identity, network, confirmations, or trade flows are affected by these changes. Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|



Description
Before the text and layout were not adjusting when the user increased the font size in the phone, now it does:
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI-only layout changes to improve Dynamic Type behavior; main potential issue is unintended spacing/overlap regressions in the
SlidingTextCarouselcontainer across devices and font scales.Overview
Improves Market Insights entry card layout under larger system font sizes.
SlidingTextCarouselno longer relies on a fixed container height; it now uses an invisible two-line "sizer"Textto establish height from actual font metrics (and pins animated text totop: 0) so the rotating text doesn’t clip/overlap when Dynamic Type scales.The footer disclaimer text in
MarketInsightsEntryCardis also marked asshrinkto avoid layout overflow next to the info icon.Written by Cursor Bugbot for commit 30fb5ef. This will update automatically on new commits. Configure here.