-
-
Notifications
You must be signed in to change notification settings - Fork 49.2k
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
fix(Form): label width not correct when screen less than xs #21222
fix(Form): label width not correct when screen less than xs #21222
Conversation
/rebase |
当前仓库分支 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit abfbd98:
|
Codecov Report
@@ Coverage Diff @@
## master #21222 +/- ##
=======================================
Coverage 97.55% 97.55%
=======================================
Files 300 300
Lines 7003 7003
Branches 1932 1920 -12
=======================================
Hits 6832 6832
Misses 171 171 Continue to review full report at Codecov.
|
不应该直接 100%,用户设置了 col 的时候应该按照设置的来: ref: https://preview-21222-ant-design.surge.sh/components/form-cn/#components-form-demo-basic |
以前的逻辑就是 XS 下 label 独占一行,不过以前是通过 |
Done. |
…gn#21222) * fix(Form): label width not correct when screen less than xs * fix form item control width * fix css selector priority
* add Azerbaijani translation * fix: rename Azerbaijani translation file * fix: add az_AZ.txs file into locale/ folder * fix: linting error on tranling comma * fix: duplicate locales in locale-provide, a typo * #21343 - fix (#21344) * fix(Form): label width not correct when screen less than xs (#21222) * fix(Form): label width not correct when screen less than xs * fix form item control width * fix css selector priority * fix: separate translation into multiple files for Azerbaijani locale * fix: wrong import from tr_TR locales into az_AZ * fix: typo in calendar locale az * add Azerbaijani translation * fix: rename Azerbaijani translation file * fix: add az_AZ.txs file into locale/ folder * fix: linting error on tranling comma * fix: duplicate locales in locale-provide, a typo * add: time picker az_AZ locale * fix: separate translation into multiple files for Azerbaijani locale * fix: wrong import from tr_TR locales into az_AZ * fix: typo in calendar locale az * update: rc-picker in package.json Co-authored-by: ElliotAshby <47282526+ElliotAshby@users.noreply.github.com> Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
🤔 This is a ...
🔗 Related issue link
Ref: #20836 (comment)
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge