This means that stakedXec.com is rendered instead of stakedXec.co...
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCd8d783a44134: [Cashtab] Show one more character on token urls
npm test, screenshot
before
after
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
hm good point.
the reason was bc it's optimized for 320px widths, which this still (just) fits in.
But now we are not a "always show the mobile view" app, so we should use media queries.
Added some breakpoints. In testing these seem to work, tho might need adjustment in the future. Ultimately it's not really a make or break thing in the UX, we just don't want it to overflow and cause horizontal scrolling.
1px above the first breakpoint with a "too long" url:
1px above the 2nd breakpoint with a "too long" url:
320px (min supported resolution) (note here we are cutting and ellipsis because i have a dummy "too long" url instead of the real url, so this truncation is expected behavior)
here is why we have the rules, example of what it looks like with no max width if we get an oddly long url (generate this by deleting the "max-width:300px" rule that is in this diff