We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.8.1
chrome
https://stackblitz.com/edit/ng-zorro-antd-start-wqxpyg?file=src%2Fapp%2Fapp.component.html
<nz-avatar [nzText]="2234" nzSize="large" [ngStyle]="{'background-color':'red'}" style="vertical-align: middle;">
图标或文字居中显示
偏右显示了
测试发现由于1.8.1版本中avatar/style/index.lessk中添加了position:absolute;这一行,导致显示效果默认没居中
The text was updated successfully, but these errors were encountered:
Fix via #2536
Sorry, something went wrong.
No branches or pull requests
Version
1.8.1
Environment
chrome
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-wqxpyg?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
<nz-avatar [nzText]="2234" nzSize="large" [ngStyle]="{'background-color':'red'}" style="vertical-align: middle;">
What is expected?
图标或文字居中显示
What is actually happening?
偏右显示了
Other?
测试发现由于1.8.1版本中avatar/style/index.lessk中添加了position:absolute;这一行,导致显示效果默认没居中
The text was updated successfully, but these errors were encountered: