bigbigDreamer / FCC_Record

个人自我提升与拓展
Apache License 2.0
0 stars 0 forks source link

antd缺陷----输入框的清除按钮默认有白色四方四正的底块 #13

Open bigbigDreamer opened 4 years ago

bigbigDreamer commented 4 years ago

antd缺陷----输入框的清除按钮默认有白色四方四正的底块

How To Reslove?

Don't Worry!!!!,我们可以操控这个类.ant-select-selection__clear

   .ant-select-selection__clear {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }

没错,给予border-radius: 50%完美解决。