step组件 默认icon中的文字没有居中
LinTing-pl opened this issue · 5 comments
LinTing-pl commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.20
Environment
浏览器版本、Vue版本
Reproduction link
https://3x.antdv.com/components/steps-cn
Steps to reproduce
css样式问题,直接看官网就可以复现
What is expected?
能直接居中,不需要使用者再去穿透改样式
What is actually happening?
step组件的默认icon里的文字由span包裹,而span元素的父元素为div,该div的高度与行高一致,可见设计者是想让文字居中的,但是实际效果没有居中
LinTing-pl commented
selicens commented
LinTing-pl commented
selicens commented
滚动是指先滚动到底部在回到顶部,步骤条内文字就不居中了嘛,这一步我没有复现,你可以试下4.x和其他浏览器、电脑之类的
LinTing-pl commented