Skip to content

Commit

Permalink
fix:修改兼容方式,兼容Form 组件中contentMap中类输入框或下拉选择的所有组件,特殊兼容 InputNumber 组件
Browse files Browse the repository at this point in the history
  • Loading branch information
huanlirui committed Jan 29, 2024
1 parent f44e48d commit ab98ceb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/Form/src/Form.vue
Expand Up @@ -425,11 +425,14 @@ export default defineComponent({
}
.@{elNamespace}-form--inline {
.@{elNamespace}-input {
min-width: 189.5px;
:deep(.el-form-item__content) {
& > :first-child {
min-width: 229.5px;
}
}
.@{elNamespace}-select {
min-width: 189.5px;
.@{elNamespace}-input-number {
// 229.5px是兼容el-input-number的最小宽度,
min-width: 229.5px;
}
}
</style>

0 comments on commit ab98ceb

Please sign in to comment.