-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
step组件 默认icon中的文字没有居中 #7578
Comments
滚动是指先滚动到底部在回到顶部,步骤条内文字就不居中了嘛,这一步我没有复现,你可以试下4.x和其他浏览器、电脑之类的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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的高度与行高一致,可见设计者是想让文字居中的,但是实际效果没有居中
The text was updated successfully, but these errors were encountered: