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

CSS样式显示不正确 #115

Open
1 task
Qiuhang817385 opened this issue Feb 4, 2021 · 0 comments
Open
1 task

CSS样式显示不正确 #115

Qiuhang817385 opened this issue Feb 4, 2021 · 0 comments

Comments

@Qiuhang817385
Copy link

Qiuhang817385 commented Feb 4, 2021

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 下载@ant-design/compatible 依赖包
  2. 从包中导出Form, 写一个最简单的antd3的表单
  3. 为表单项上 .ant-legacy-form-item-control-wrapper 当前元素添加 css: flex: 1 1 0%
    4.关于ant-legacy-form-item-control-wrapper 线上包括源码当中是默认有 flex: 1 1 0% 这个样式的,不知道为什么本地复现并没有这个样式,只能手动加上,线上是出现了问题

5.Input 表单项宽度丢失

What is expected?

表单正常显示

What is actually happening?

Input宽度丢失

image

Environment Info
antd 4.12.2
React 16.8
System windows
Browser chrome 88
@afc163 afc163 transferred this issue from ant-design/ant-design Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant