Skip to content
New issue

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

The style of the upload component in the form in the pop-up box #4814

Open
1 task done
CasbaL opened this issue Oct 28, 2021 · 4 comments
Open
1 task done

The style of the upload component in the form in the pop-up box #4814

CasbaL opened this issue Oct 28, 2021 · 4 comments
Labels
3.x Accept You are right, we should do that bug refactor

Comments

@CasbaL
Copy link

CasbaL commented Oct 28, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-alpha.4

Environment

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.73

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击open,用弹框内的upload组件上传图片,表单的高度会自动增加

What is expected?

期望表单高度是正常的

What is actually happening?

可能是清浮动 影响的

@github-actions github-actions bot changed the title 弹框中的表单内的upload组件的样式问题 The style of the upload component in the form in the pop-up box Oct 28, 2021
@CasbaL
Copy link
Author

CasbaL commented Oct 28, 2021

多出来这么一块儿
image

@weeksun23
Copy link

看了下,是.ant-row中的flex-wrap: wrap;导致,具体原因搞不懂

@CasbaL
Copy link
Author

CasbaL commented Oct 28, 2021

看了下,是.ant-row中的flex-wrap: wrap;导致,具体原因搞不懂

感谢大佬!确实是warp 导致的,用unset覆盖解决了。

@tangjinzhou tangjinzhou added 3.x Accept You are right, we should do that bug refactor labels Oct 29, 2021
@weeksun23
Copy link

看了下,是.ant-row中的flex-wrap: wrap;导致,具体原因搞不懂

感谢大佬!确实是warp 导致的,用unset覆盖解决了。

它生成的结构有点乱。又float 又flex,然后span里包div,强迫症看到受不了。。希望能优化下吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Accept You are right, we should do that bug refactor
Projects
None yet
Development

No branches or pull requests

3 participants