Skip to content
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

antd 4.x 全局 css 样式污染 #42138

Closed
zhaoyiming0803 opened this issue May 4, 2023 · 1 comment
Closed

antd 4.x 全局 css 样式污染 #42138

zhaoyiming0803 opened this issue May 4, 2023 · 1 comment

Comments

@zhaoyiming0803
Copy link

Steps to reproduce

按照文档【快速开始】,引入样式文件:import 'antd/dist/antd.css'; 即可复现

What is expected?

如何避免 antd4 全局 css 样式污染

What is actually happening?

避免 antd4 全局 css 样式污染

Environment Info
antd undefined
React 16.14.0
System macOS
Browser chrome 最新
@zombieJ
Copy link
Member

zombieJ commented May 4, 2023

感谢反馈,可以升级到 v5 哈。

@zombieJ zombieJ closed this as completed May 4, 2023
@zhaoyiming0803 zhaoyiming0803 changed the title antd4全局css样式污染 antd 4.x 全局 css 样式污染 May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants