We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cb33cd + efde59a commit 3b1058aCopy full SHA for 3b1058a
1 file changed
src/styles/index.ts
@@ -4645,7 +4645,9 @@ const staticStyles = (theme: ThemeColors) =>
4645
height: 'auto',
4646
},
4647
expenseViewImageSmall: {
4648
+ // aspectRatio is calculated first and then maxWidth/maxHeight clamps the dimensions, thus both have to be specified
4649
maxWidth: variables.receiptPreviewMaxWidth,
4650
+ maxHeight: (variables.receiptPreviewMaxWidth * 9) / 16,
4651
aspectRatio: 16 / 9,
4652
4653
0 commit comments