fix(Table): inconsistent width between Firefox and Chrome#4083
Open
fix(Table): inconsistent width between Firefox and Chrome#4083
Conversation
Collaborator
TDesign Component Site Preview Open
|
1b03cfc to
012bcf4
Compare
commit: |
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.

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
火狐 Bug:
理论上内部没必要限制 min-width 🤔,其它组件库都没有控制
(应该交给用户自定义)
(用户肉眼察觉到样式不对劲后,才会主动设置 width)
📝 更新日志
tdesign-react
tableLayout='fixed'时对th的min-width限制,避免在 Chrome 和火狐浏览器中样式存在差异。若将Table放在Dialog内部,建议主动给Table或者Dialog主动设置width,确保尺寸正常@tdesign-react/chat
☑️ 请求合并前的自查清单