Skip to content

Commit f2d6f03

Browse files
committed
apply w100 only for isThumbnail case
1 parent f9411ac commit f2d6f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ReceiptEmptyState.tsx

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

0 commit comments

Comments
 (0)