Skip to content

Commit e416e9e

Browse files
authored
Merge pull request #60427 from FitseTLT/fix-confirmation-page-receipt-thumbnail-style-bug
fix - Review duplicates - Receipt thumbnail on the confirmation page does not have right margin
2 parents d7a9a70 + f2d6f03 commit e416e9e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/ReceiptEmptyState.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function ReceiptEmptyState({hasError = false, onPress, disabled = false, isThumb
4848
styles.justifyContentCenter,
4949
styles.moneyRequestViewImage,
5050
isThumbnail ? styles.moneyRequestAttachReceiptThumbnail : styles.moneyRequestAttachReceipt,
51+
isThumbnail && !isInMoneyRequestView && styles.w100,
5152
isInMoneyRequestView && styles.expenseViewImage,
5253
hasError && styles.borderColorDanger,
5354
shouldUseFullHeight && styles.receiptEmptyStateFullHeight,

src/styles/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4838,7 +4838,6 @@ const styles = (theme: ThemeColors) =>
48384838

48394839
moneyRequestAttachReceiptThumbnail: {
48404840
backgroundColor: theme.hoverComponentBG,
4841-
width: '100%',
48424841
borderWidth: 0,
48434842
},
48444843

0 commit comments

Comments
 (0)