HomePhabricator

[Cashtab] Autosize the wallet select based on text width

Description

[Cashtab] Autosize the wallet select based on text width

Summary:
Currently we get an approximation that does not account for differing widths of different characters.

Get an exact value. Also, use the app font for this select menu.

Test Plan:
npm test, note we can't jest unit test this html-specific method, can view impact with npm start

View on test site at https://cashtab-local-dev.netlify.app/

change some wallets

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Mar 24 2024, 17:35
bytesofmanPushed on Mar 25 2024, 10:52
Reviewer
Restricted Project
Differential Revision
D15774: [Cashtab] Autosize the wallet select based on text width
Parents
rABC7bb5d6be9cb5: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown