diff --git a/webapp/components/Upload/index.vue b/webapp/components/Upload/index.vue
index 831edd2f8..f43ede7e6 100644
--- a/webapp/components/Upload/index.vue
+++ b/webapp/components/Upload/index.vue
@@ -48,13 +48,6 @@ export default {
-
-
-
-
`
},
@@ -117,15 +110,16 @@ export default {
}
#customdropzone .dz-preview {
+ transition: all 0.2s ease-out;
width: 160px;
display: flex;
}
#customdropzone .dz-preview .dz-image {
- position: relative;
- width: 122px;
- height: 122px;
- margin: -35px;
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ overflow: hidden;
}
#customdropzone .dz-preview .dz-image > div {