From 6fc89bc7d749decb1f5e362bd5c8ed8bdd8c8248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?= <615206459@qq.com> Date: Fri, 15 Mar 2024 19:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/crud/src/static/index.scss | 10 ++++++---- src/plugins/upload/components/upload.vue | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/crud/src/static/index.scss b/packages/crud/src/static/index.scss index 6fcaa37..bfcaf73 100644 --- a/packages/crud/src/static/index.scss +++ b/packages/crud/src/static/index.scss @@ -333,10 +333,12 @@ } &:not(.el-form--label-top) { - &.no-label { - & > .el-form-item__label { - padding: 0; - display: none; + .el-form-item { + &.no-label { + & > .el-form-item__label { + padding: 0; + display: none; + } } } } diff --git a/src/plugins/upload/components/upload.vue b/src/plugins/upload/components/upload.vue index f1c2ff6..707ff94 100644 --- a/src/plugins/upload/components/upload.vue +++ b/src/plugins/upload/components/upload.vue @@ -476,7 +476,7 @@ defineExpose({ } &__list { - display: flex; + display: inline-flex; flex-wrap: wrap; }