Skip to content

Commit

Permalink
fix:修复 element-plus 2.5版本以上,el-form-item inline模式下,select宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
huanlirui committed Jan 29, 2024
1 parent c8ccaa8 commit f44e48d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Form/src/Form.vue
Expand Up @@ -424,7 +424,12 @@ export default defineComponent({
margin-left: 0 !important;
}
.@{elNamespace}-form--inline .@{elNamespace}-input {
width: 245px;
.@{elNamespace}-form--inline {
.@{elNamespace}-input {
min-width: 189.5px;
}
.@{elNamespace}-select {
min-width: 189.5px;
}
}
</style>

0 comments on commit f44e48d

Please sign in to comment.