diff --git a/src/components/Canvas/FlowCanvas/components/tools/upload-file.vue b/src/components/Canvas/FlowCanvas/components/tools/upload-file.vue index 09be9ed..20bb8cf 100644 --- a/src/components/Canvas/FlowCanvas/components/tools/upload-file.vue +++ b/src/components/Canvas/FlowCanvas/components/tools/upload-file.vue @@ -96,18 +96,18 @@ } } > .preview { - width: 80px; height: 80px; + max-height: 100%; position: relative; > img { height: 100%; - width: 100%; + max-height: 100%; object-fit: contain; } > .close { position: absolute; - top: 0.1px; - right: 0.1px; + top: -10px; + right: -10px; border-radius: 50%; background-color: #fff; cursor: pointer;