HomePhabricator

[Cashtab] Improve styling for settings items

Description

[Cashtab] Improve styling for settings items

Summary:
These were added incrementally and did not follow a standard pattern.

Remove classNames and use parent component, so that all have the same styling.

Remove obsolete display:none for auto camera open setting, as this is now conditionally rendered with isMobile

Shorten label for hide msgs as it crowds out the switch on smaller devices.

Test Plan:
npm test

desktop:

image.png (592×480 px, 29 KB)

mobile:

image.png (677×480 px, 124 KB)

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15563

Details

Provenance
bytesofmanAuthored on Feb 27 2024, 19:41
bytesofmanPushed on Feb 27 2024, 21:49
Reviewer
Restricted Project
Differential Revision
D15563: [Cashtab] Improve styling for settings items
Parents
rABC9693acd7dc34: [Cashtab] Update SendToken tests to new standardized wrapper
Branches
Unknown
Tags
Unknown