-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
重新整理和定义各组件的 style #1380
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
是的! 所以有什么比较好的办法解决这个问题吗? |
@huyansheng3 只能这么干,后期改成纯对象了其实也是类似,只不过少了一次 stylesheet.flatten 而已 |
就从 web 组件的角度而言, e.g. interface Component {
style?: ...
className?: ...
subStyle?: ...
subClassName?: ...
}; |
* feat: pagination current start from 1. close ant-design#1009 * refactor style for some components, ref ant-design#1380 * fix flex ant-design#1532 * update snap * modify CHANGELOG
目前的组件基本都是把 style 定义在最外层的那个容器元素上,但实际上可能这个 style 定义在内层某些具体元素上才更有意义,比如: InputItem 的 style 定义在 input 元素上会更好,还有 TextareaItem 等等
The text was updated successfully, but these errors were encountered: