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