Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
346 views
in Technique[技术] by (71.8m points)

reactjs - antd badge not in default style, warped by parent CSS class

We're currently building out a massive project and we want to utilize the antd badge.

However, based on some parent css change, our badge looks warped and we can't find whichever css class is changing the default style for antd

Is there a fix where we could use/reset the badge to antd's original css?

Current look

Code for any example of antd badge:

https://codesandbox.io/s/with-badge-ant-design-demo-4zmmu?from-embed=&file=/index.js


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...