From 6f9d2d0561f010fe4e921c0cb48d4f27ddfe4c52 Mon Sep 17 00:00:00 2001 From: VickyStash Date: Tue, 3 Mar 2026 10:06:36 +0100 Subject: [PATCH] Fix ReceiptPreview aspect ratio --- .../ReceiptPreview/index.tsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/TransactionItemRow/ReceiptPreview/index.tsx b/src/components/TransactionItemRow/ReceiptPreview/index.tsx index e6b7fb1e08c9d..baa8babb735e7 100644 --- a/src/components/TransactionItemRow/ReceiptPreview/index.tsx +++ b/src/components/TransactionItemRow/ReceiptPreview/index.tsx @@ -127,19 +127,21 @@ function ReceiptPreview({source, hovered, isEReceipt = false, transactionItem}: )} - { - if (isLoading) { - return; - } - setIsLoading(true); - }} - onError={handleError} - onLoad={handleLoad} - isAuthTokenRequired - /> + + { + if (isLoading) { + return; + } + setIsLoading(true); + }} + onError={handleError} + onLoad={handleLoad} + isAuthTokenRequired + /> + ) : (