From 4ec010afb910b6f5808a1ceea8655295c5663348 Mon Sep 17 00:00:00 2001 From: mkhutornyi Date: Mon, 18 Dec 2023 11:59:00 +0100 Subject: [PATCH] update merchant line text size, receipt border radius on preview card --- src/components/ReportActionItem/MoneyRequestPreview.js | 2 +- src/components/ReportActionItem/ReportPreview.js | 2 +- src/styles/index.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/ReportActionItem/MoneyRequestPreview.js b/src/components/ReportActionItem/MoneyRequestPreview.js index 12c6d0629370..078fed80b656 100644 --- a/src/components/ReportActionItem/MoneyRequestPreview.js +++ b/src/components/ReportActionItem/MoneyRequestPreview.js @@ -317,7 +317,7 @@ function MoneyRequestPreview(props) { {shouldShowMerchant && !props.isBillSplit && ( - + {hasPendingWaypoints ? requestMerchant.replace(CONST.REGEX.FIRST_SPACE, translate('common.tbd')) : requestMerchant} diff --git a/src/components/ReportActionItem/ReportPreview.js b/src/components/ReportActionItem/ReportPreview.js index aa3c02b76fc0..91954a6d0d84 100644 --- a/src/components/ReportActionItem/ReportPreview.js +++ b/src/components/ReportActionItem/ReportPreview.js @@ -268,7 +268,7 @@ function ReportPreview(props) { {!isScanning && (numberOfRequests > 1 || hasReceipts) && ( - {previewSubtitle || moneyRequestComment} + {previewSubtitle || moneyRequestComment} )} diff --git a/src/styles/index.ts b/src/styles/index.ts index 5227e87f34c7..f3be2580ead5 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -3746,8 +3746,7 @@ const styles = (theme: ThemeColors) => reportActionItemImages: { flexDirection: 'row', margin: 4, - borderTopLeftRadius: variables.componentBorderRadiusLarge, - borderTopRightRadius: variables.componentBorderRadiusLarge, + borderRadius: variables.componentBorderRadiusLarge, overflow: 'hidden', height: variables.reportActionImagesSingleImageHeight, },