Mobile: Text overlap on Dashboard USTR Supply / USTC Reserve cards #3
Labels
No labels
bug
docs
documentation
duplicate
enhancement
frontend
good first issue
help wanted
invalid
missing-implementation
priority
medium
product
QA
question
testing
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/ustr-cmm#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
On the Dashboard page at ust1cmm.com, the large numeric values in the Total USTR Supply and Treasury USTC Reserve stat cards overflow their containers on mobile / narrow viewports. The currency label text ("USTR" / "USTC") overlaps with the leading digits of the number, making the values partially unreadable.
The Enumerated Accounts card above is unaffected because its value is short enough to fit.
Steps to Reproduce
Expected Behaviour
The numeric values and their currency labels should be fully visible and not overlap on all screen sizes.
Actual Behaviour
The currency prefix/label overlaps the leading digits of the value (e.g. "USTR" overlaps "56R,105,658…" and "USTC" overlaps "38C,723,646…").
Evidence
Recommended Fix
font-sizescaling /text-overflow) so it stays within its card on smaller screens.clamp()or a smaller breakpoint font) for the stat values, or abbreviate large numbers on mobile (e.g. "56.1M USTR").flex-wrap).assigned to @Brouie
mentioned in merge request !25
mentioned in commit
0f6016ba3fmentioned in commit
81fb77e828