Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4631,7 +4631,9 @@ const staticStyles = (theme: ThemeColors) =>
height: 'auto',
},
expenseViewImageSmall: {
// aspectRatio is calculated first and then maxWidth/maxHeight clamps the dimensions, thus both have to be specified
maxWidth: variables.receiptPreviewMaxWidth,
maxHeight: (variables.receiptPreviewMaxWidth * 9) / 16,
aspectRatio: 16 / 9,
height: 'auto',
},
Expand Down
Loading