You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 4, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
本地环境
你做了什么?
不使用antd-init 等工具。
创建
use_css.less
和use_less.less
,内容分别为和
页面分别引入这两个文件,查看效果。
你期待的结果是:
样式定义应该是一致的。
实际上的结果:
部分样式的顺序不同。比如 Cascader 组件中的 Input 组件样式。
如果引入
use_css.less
,则.ant-cascader-input
类的定义会覆盖ant-input
类的定义。如果引入
use_less.less
,则ant-input
类的定义会覆盖.ant-cascader-input
类的定义;并且存在重复定义的情况,所有的 antd 类 都定义了好多次。可重现的在线演示
The text was updated successfully, but these errors were encountered: