From 02b8edc8c2f113cd25ad727c8d68090a5fcaa6c5 Mon Sep 17 00:00:00 2001 From: Garrett Bear Date: Mon, 24 Jul 2023 15:26:22 -0700 Subject: [PATCH] Fix hover on account menu (#20153) * Fix hover on account menu * remove excessive color prop --- .../account-list-item.test.js.snap | 12 ++++------- .../account-list-item/account-list-item.js | 21 ++++++++++++------- 2 files changed, 17 insertions(+), 16 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 248a913dc..e2bb2b4a6 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 @@ -58,20 +58,16 @@ exports[`AccountListItem renders AccountListItem component and shows account nam class="mm-box mm-box--display-flex mm-box--justify-content-space-between" >
- - { e.stopPropagation(); onClick(); }} + variant={TextVariant.bodyMdMedium} className="multichain-account-list-item__account-name__button" - color={Color.textDefault} + padding={0} + backgroundColor={BackgroundColor.transparent} + width={BlockSize.Full} + textAlign={TextAlign.Left} ellipsis > {identity.name.length > MAXIMUM_CHARACTERS_WITHOUT_TOOLTIP ? ( @@ -164,14 +168,15 @@ export const AccountListItem = ({ ) : ( identity.name )} - - + +