-
Notifications
You must be signed in to change notification settings - Fork 1k
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
针对ant design4x 和 design5x 样式方面的兼容 #1146
Labels
in progress
进入开发周期
Comments
这不应该是工程项目方面去兼容吗? |
我意思是xrender内的样式 prefixCls 是写死的,没办法根据工程项目prefixCls动态处理,导致xrender的样式混乱。 |
了解,后面解一下 |
这一块组件把 ant 前缀改成了 less @ant-prefix: ant; 变量, 你工程方面能做适配吗? |
css in js 如何处理呀 |
你有什么想法 |
其实 组件里面的重写样式也不是很多,复制到工程里面重写一遍也行 |
感觉可以参考一下其他库如何兼容的,复制到工程重写感觉有点麻烦了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ant design4 和ant design5 样式实现不同,目前项目中使用less进行样式更改存在问题,项目使用自定义prefixCls的情况下,会导致 x-render 样式失效。
The text was updated successfully, but these errors were encountered: