ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

The round button and avatar are not centered, whether they are icons or text

Open 002269 opened this issue 4 years ago • 2 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

圆形的 button 和 avatar 不管是 icon 还是文本,都不居中。 苹果big sur,chrome,firefox,safari,opera 最新版

What does the proposed API look like?

绝对居中

002269 avatar Jul 20 '21 15:07 002269

打完包之后 icon 在button里面都是不居中的 dev环境下正常

han1548772930 avatar Jul 26 '24 06:07 han1548772930

或者直接全局加上

.ant-btn > span{
    display: inline-flex;
}

han1548772930 avatar Jul 27 '24 06:07 han1548772930