From 724c69ea7ca9a973733eb1e3ed41640bdea856dd Mon Sep 17 00:00:00 2001 From: David Walsh Date: Wed, 17 May 2023 11:53:54 -0500 Subject: [PATCH] UX: Multichain: Ensure percentage of account name always shown (#18976) * UX: Multichain: Ensure percentage of account name always shown * Remove extra spacing between value and menu, use proposed widths * Setup widths via storybook and props * Remove spacing between avatar and asset value * WIP: Setup customization for Sara, update hard-coded font sizes * Implement final widths * Cleanup CSS --- .../account-list-item.test.js.snap | 56 +++++++++--------- .../account-list-item/account-list-item.js | 57 +++++++++++-------- .../multichain/account-list-item/index.scss | 47 ++++++++++++--- 3 files changed, 101 insertions(+), 59 deletions(-) diff --git a/ui/components/multichain/account-list-item/__snapshots__/account-list-item.test.js.snap b/ui/components/multichain/account-list-item/__snapshots__/account-list-item.test.js.snap index a9e697276..9dfa5527f 100644 --- a/ui/components/multichain/account-list-item/__snapshots__/account-list-item.test.js.snap +++ b/ui/components/multichain/account-list-item/__snapshots__/account-list-item.test.js.snap @@ -3,10 +3,10 @@ exports[`AccountListItem renders AccountListItem component and shows account name, address, and balance 1`] = `