fix long width image previews to fit into view

This commit is contained in:
bree 2021-07-02 22:37:45 -04:00
parent 030d743af9
commit ee5e558e9f
No known key found for this signature in database
GPG key ID: 1B2E56B9EC985B96

View file

@ -101,6 +101,7 @@ const PreviewBox = styled.div`
.icon { .icon {
height: 100px; height: 100px;
width: 100%;
margin-bottom: 4px; margin-bottom: 4px;
object-fit: contain; object-fit: contain;
} }