From 8c9751c0dd7617f2fe10db14ac2f7774f2024d6c Mon Sep 17 00:00:00 2001 From: Adam Horodyski Date: Fri, 27 Oct 2023 11:50:45 +0200 Subject: [PATCH] chore: use predefined optionRowHeight instead of paymentMethodHeight style variable --- src/pages/settings/Wallet/PaymentMethodList.js | 4 ++-- src/styles/styles.ts | 2 +- src/styles/variables.ts | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/settings/Wallet/PaymentMethodList.js b/src/pages/settings/Wallet/PaymentMethodList.js index efbe8993c84f9..5125832f6eb3b 100644 --- a/src/pages/settings/Wallet/PaymentMethodList.js +++ b/src/pages/settings/Wallet/PaymentMethodList.js @@ -333,9 +333,9 @@ function PaymentMethodList({ return ( <> - + paymentMethod: { paddingHorizontal: 20, - height: variables.paymentMethodHeight, + height: variables.optionRowHeight, }, archivedReportFooter: { diff --git a/src/styles/variables.ts b/src/styles/variables.ts index d88fb2822b36a..382ed3e032d11 100644 --- a/src/styles/variables.ts +++ b/src/styles/variables.ts @@ -152,7 +152,6 @@ export default { anonymousReportFooterBreakpoint: 650, dropDownButtonDividerHeight: 28, addPaymentMethodLeftSpacing: 2, - paymentMethodHeight: 64, addBankAccountLeftSpacing: 3, eReceiptThumbnailSmallBreakpoint: 110, eReceiptThumbnailMediumBreakpoint: 335,