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

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;
} }