Closed MadCcc closed 1 year ago
🎊 PR Preview 87fc37d3ec220bd5ffd500f1fdc18924eb6b74fb has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-70.surge.sh
:clock1: Build time: 93.651s
🤖 By surge-preview
Base: 91.44% // Head: 91.72% // Increases project coverage by +0.27%
:tada:
Coverage data is based on head (
87fc37d
) compared to base (ad3f364
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
这个同时也能修复 https://github.com/ant-design/cssinjs/issues/69 吗?
这个同时也能修复 #69 吗?
看起来不相关
split 本来是为了这种情况存在的:
paddingInline: 2px 4px
会转换成paddingLeft: 2px; paddingRight: 4px
。 简单的split(/\s+/)
会将calc
错误地分离。其实还有更复杂的情况,比如圆角会有用
/
的情况。antd 中没有遇到,有问题再处理。close https://github.com/ant-design/ant-design/issues/39881 close https://github.com/ant-design/ant-design/issues/39882