feat(DateRanger): Support the style of customized panel#936
Open
feat(DateRanger): Support the style of customized panel#936
Conversation
dengfuping
requested changes
Jan 15, 2025
| return ( | ||
| <DateRanger | ||
| styles={{ pickerPanel: { width: '430px' } }} | ||
| tip={<div>通过定制右侧 Panel 的样式,让文字能在一行内展示完全</div>} |
Collaborator
There was a problem hiding this comment.
通过扩大 Panel 宽度让内容展示在一行内,不太合理,还有其他的使用场景吗?
Collaborator
There was a problem hiding this comment.
内容超长换行是合理的,不应该通过加宽 Panel 绕过。如果没有其他应用场景,这个 feature 意义就不大了。
Contributor
Author
There was a problem hiding this comment.
那可以先不合,后面看有其他场景在合,当时想着是用户应该也有定制这个样式的场景并且内部样式不是自适应的,一起改了
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.
📦 Modified package
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge