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 组件 在 List 中使用, nzText 属性样式生效的和单独使用不一致 #2005

Closed
xcorpio opened this issue Aug 18, 2018 · 6 comments
Assignees

Comments

@xcorpio
Copy link

xcorpio commented Aug 18, 2018

Version

1.3.0

Environment

MacOS, Chrome 68.0.3440.106

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-edvwog?file=src%2Fapp%2Fapp.component.html

Steps to reproduce

打开 https://stackblitz.com/edit/ng-zorro-antd-start-edvwog?file=src%2Fapp%2Fapp.component.html, 单独使用 Avatar 和在列表中使用表现不一致

What is expected?

avatar 单独使用或嵌入其他组件自身表现一致

What is actually happening?

表现一致

Other?

@wzhudev
Copy link
Member

wzhudev commented Aug 18, 2018

@xcorpio 你说的表现一致是指的在用 nzText 时文字能自动缩小吗?

@xcorpio
Copy link
Author

xcorpio commented Aug 18, 2018

@wendzhue 是的 stackblitz 如图 :
image

不过我现在本地好了.
更新了stackblitz中的代码,如果初始时 设置 nzLoading

<nz-list ... [nzLoading]="loading">

数据异步加载进来, avatar 表现就正常了

@wzhudev wzhudev self-assigned this Aug 30, 2018
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Aug 30, 2018
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Aug 31, 2018
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Sep 5, 2018
@IssueHuntBot
Copy link

@0maxxam0 funded this issue with $10. See it on IssueHunt

@hsuanxyz
Copy link
Member

close via #2536

@IssueHuntBot
Copy link

@hsuanxyz has submitted a pull request. See it on IssueHunt

@IssueHuntBot
Copy link

@vthinkxie has rewarded $9.00 to @hsuanxyz. See it on IssueHunt

  • 💰 Total deposit: $10.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $1.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants