Page MenuHomePhabricator

[Cashtab] Improve styling for settings items
ClosedPublic

Authored by bytesofman on Feb 27 2024, 19:42.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC6adfa71b79c5: [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)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable