Skip to content

Commit 143436c

Browse files
Remove gap between menu items and set icon size to 40
Remove mt3/mt5 top margin from the import transactions View to eliminate the gap between it and adjacent menu items. Change the VerticalCreditCards icon size from 48 to 40. Co-authored-by: parasharrajat <parasharrajat@users.noreply.github.com>
1 parent cf1cfb2 commit 143436c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/pages/settings/Wallet/WalletPage

src/pages/settings/Wallet/WalletPage/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ function WalletPage() {
704704
)}
705705
</>
706706
{isBetaEnabled(CONST.BETAS.PERSONAL_CARD_IMPORT) && (
707-
<View style={[hasAssignedCard ? styles.mt3 : styles.mt5, shouldUseNarrowLayout ? styles.mhn5 : styles.mhn8]}>
707+
<View style={[shouldUseNarrowLayout ? styles.mhn5 : styles.mhn8]}>
708708
<MenuItem
709709
title={translate('workspace.companyCards.importTransactions.importButton')}
710710
icon={icons.Table}
@@ -718,8 +718,8 @@ function WalletPage() {
718718
{!hasAssignedCard && (
719719
<View style={[shouldUseNarrowLayout ? styles.mhn5 : styles.mhn8]}>
720720
<MenuItem
721-
iconHeight={48}
722-
iconWidth={48}
721+
iconHeight={40}
722+
iconWidth={40}
723723
shouldShowRightIcon
724724
icon={illustrations.VerticalCreditCards}
725725
displayInDefaultIconColor

0 commit comments

Comments
 (0)