Skip to content
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

Avatar样式错误 #13408

Closed
1 task
vueZZ opened this issue Dec 3, 2018 · 2 comments
Closed
1 task

Avatar样式错误 #13408

vueZZ opened this issue Dec 3, 2018 · 2 comments
Assignees
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.

Comments

@vueZZ
Copy link

vueZZ commented Dec 3, 2018

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

Version

3.11.0

Environment

chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

What is expected?

永远垂直居中

What is actually happening?

此时样式为“ line-height: 20px;font-size: 10px;”,但chrome下最小fontsize为12px,所以此处图标不居中。
建议使用flex的align-items取代line-height,保证绝对居中

@chenshuai2144 chenshuai2144 added the help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. label Dec 3, 2018
@chenshuai2144
Copy link
Contributor

welcome to pr

@afc163
Copy link
Member

afc163 commented Dec 3, 2018

flex 兼容不了 IE9/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.
Projects
None yet
Development

No branches or pull requests

3 participants