fix(Cell): 🐛 修复 Cell当 title 和 value 并存时value内容溢出的问题;修复 Cell 只有 value 时宽度没有撑开的问题#1004
Closed
felix9ia wants to merge 1 commit intomallfoundry:mainfrom
Closed
fix(Cell): 🐛 修复 Cell当 title 和 value 并存时value内容溢出的问题;修复 Cell 只有 value 时宽度没有撑开的问题#1004felix9ia wants to merge 1 commit intomallfoundry:mainfrom
felix9ia wants to merge 1 commit intomallfoundry:mainfrom
Conversation
修复 Cell当 title 和 value 并存时value内容溢出的问题;修复 Cell 只有 value 时宽度没有撑开的问题
Contributor
Author
|
@Pilotager 没想到把 taroify-cell__value 从 flex:1 改为 flex: 0 0 auto 后出现宽度没有撑开的影响面还挺大.... 现在影响到了表单项的宽度撑开.... 我现在的这个 PR 似乎只能解决 Cell 中 value 没有值的时候就不占用空间的问题,但是在表单中如何让 value 的宽度如何自动撑开这件事儿还是解决不了.... 至于图中 TextArea 的 placeholder 文字为什么会这样表现我没看懂....
|
Contributor
对的, 我也有这个问题, 正准备提PR, 你试试我的#1006 这个修复能解决你的问题不 |
This was referenced Mar 10, 2026
Collaborator
没问题我晚上发下,有问题的话我晚上再看下。。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



修复 Cell当 title 和 value 并存时value内容溢出的问题;修复 Cell 只有 value 时宽度没有撑开的问题
内容溢出:

宽度没有撑开:


当前:
修复后: