Skip to content

Commit b339e89

Browse files
committed
Fix bug where image viewer could overflow vertically on Send page
This doesn't happen on the View page, but just because we allow unlimited height - on the Send page the layout doesn't work that way.
1 parent a1a17be commit b339e89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/editor/image-viewer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const ImageViewer = styled((p: {
1414
/>)`
1515
display: block;
1616
max-width: 100%;
17+
max-height: 100%;
1718
margin: 0 auto;
1819
object-fit: scale-down;
1920
`;

0 commit comments

Comments
 (0)