-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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
Allow vertical form labels to break line #14135
Conversation
Deploy preview for ant-design ready! Built with commit 4a5e681 |
Codecov Report
@@ Coverage Diff @@
## master #14135 +/- ##
=======================================
Coverage 94.16% 94.16%
=======================================
Files 325 325
Lines 7108 7108
Branches 1757 1757
=======================================
Hits 6693 6693
Misses 403 403
Partials 12 12 Continue to review full report at Codecov.
|
3 similar comments
Codecov Report
@@ Coverage Diff @@
## master #14135 +/- ##
=======================================
Coverage 94.16% 94.16%
=======================================
Files 325 325
Lines 7108 7108
Branches 1757 1757
=======================================
Hits 6693 6693
Misses 403 403
Partials 12 12 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #14135 +/- ##
=======================================
Coverage 94.16% 94.16%
=======================================
Files 325 325
Lines 7108 7108
Branches 1757 1757
=======================================
Hits 6693 6693
Misses 403 403
Partials 12 12 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #14135 +/- ##
=======================================
Coverage 94.16% 94.16%
=======================================
Files 325 325
Lines 7108 7108
Branches 1757 1757
=======================================
Hits 6693 6693
Misses 403 403
Partials 12 12 Continue to review full report at Codecov.
|
This is a Bug fix
Background
In horizontal forms, labels are cut short so as to not break the layout if text is long.
But in vertical form layouts this feature is an unnecessary limitation.
API Realization
A one line addition to return
white-space
toinitial
value when in vertical layout.Self Check before Merge
This change will be pretty much invisible as it is mostly an edge case. No docs, demo or definition needed.