Page MenuHomePhabricator

[cashtab] Mobile style fixes
Needs ReviewPublic

Authored by johnkuney on Sat, Apr 26, 12:27.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Fixing some display issues on smaller screens on the transaction rows

Test Plan

Preview the site and check transactions, especially token info and messages, look good on small screens

after

before_.png (1×1 px, 224 KB)

before

after_.png (1×1 px, 211 KB)

Things to note:
Losing the tx icon and token image/icon at very small screens to allow other content to fit nicer
margins and padding tightened up

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab-mobile-tx-row-style-fixes
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33117
Build 65718: Build Diffcashtab-tests
Build 65717: arc lint + arc unit

Event Timeline

johnkuney edited the test plan for this revision. (Show Details)
bytesofman added a subscriber: bytesofman.
bytesofman added inline comments.
cashtab/src/components/Home/Tx/styled.ts
264–266

I don't think we can just lose these -- the issue is a cashtab msg can include, say, a txid or an ecash address, and without break-all this just bonks the whole display

303

is 500px where we start to see issues?

would be nice to not lose the icons, they do distinguish between a wide range of tx types.

can we just make them smaller?

This revision now requires changes to proceed.Sat, Apr 26, 13:41
johnkuney edited the test plan for this revision. (Show Details)

use stadard breakpoint, get icons back and line breaks back. Make icons much smaller and stack where needed

bytesofman added inline comments.
cashtab/src/components/Home/Tx/styled.ts
231 ↗(On Diff #53711)

can we really lose this?

none of these break-alls appeared spontaneously; it's always something that is added bc there is some hideous css bug where a long string overflows the whole screen

This revision now requires changes to proceed.Sun, Apr 27, 13:21