Skip to content

Commit

Permalink
Merge pull request #36583 from software-mansion-labs/fix-wallet-page-…
Browse files Browse the repository at this point in the history
…style

[Update Account Settings] Fix Wallet Page style
  • Loading branch information
mountiny authored Feb 15, 2024
2 parents 1cb872b + 9dc45ba commit 1b3939d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/pages/settings/Wallet/WalletPage/WalletPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,14 @@ function WalletPage({bankAccountList, cardList, fundList, isLoadingPaymentMethod
title={translate('common.transferBalance')}
icon={Expensicons.Transfer}
onPress={triggerKYCFlow}
hoverAndPressStyle={styles.hoveredComponentBG}
shouldShowRightIcon
disabled={network.isOffline}
wrapperStyle={styles.transferBalance}
wrapperStyle={[
styles.transferBalance,
isSmallScreenWidth ? styles.mhn5 : styles.mhn8,
isSmallScreenWidth ? styles.ph5 : styles.ph8,
]}
/>
);
}
Expand Down
3 changes: 1 addition & 2 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3425,8 +3425,7 @@ const styles = (theme: ThemeColors) =>
},

transferBalance: {
paddingLeft: 20,
paddingRight: 20,
width: 'auto',
borderRadius: 0,
height: 64,
alignItems: 'center',
Expand Down

0 comments on commit 1b3939d

Please sign in to comment.