We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.2.1
vue3.2.36
我在封装ant-design-vue时发现,在layout为vertical时 修改表单项宽度表现不太符合预期, 宽度变成了表单项宽度加上label宽度。
期望和ant-design一样,可以灵活修改表单项宽度
对比ant-design发现,ant-design-vue 的ant-form-item的子元素class名为ant-form-row 而不是ant-form-item-row,这样导致 .ant-form-vertical .ant-form-item-row { flex-direction: column } 样式丢失,子元素宽度会额外多一个label的宽度
The text was updated successfully, but these errors were encountered:
ant-design-vue 是.ant-form-row
Sorry, something went wrong.
ant-design是.ant-form-item-row,带有flex-direction: column样式
Successfully merging a pull request may close this issue.
Version
4.2.1
Environment
vue3.2.36
Reproduction link
Steps to reproduce
我在封装ant-design-vue时发现,在layout为vertical时 修改表单项宽度表现不太符合预期,
宽度变成了表单项宽度加上label宽度。
What is expected?
期望和ant-design一样,可以灵活修改表单项宽度
What is actually happening?
对比ant-design发现,ant-design-vue 的ant-form-item的子元素class名为ant-form-row 而不是ant-form-item-row,这样导致
.ant-form-vertical .ant-form-item-row { flex-direction: column } 样式丢失,子元素宽度会额外多一个label的宽度
The text was updated successfully, but these errors were encountered: