From a07e7b6173685666f92d8396c34ba1b764613358 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Wed, 25 Mar 2026 13:11:02 +0800 Subject: [PATCH] fix --- .../Canvas/FlowCanvas/components/tools/upload-file.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;