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
https://stackblitz.com/edit/ng-zorro-antd-avatar-customsize
Use a string input in nzSize such as
[nzSize]="'9.38vw'"
For the component to use the desired unit
The component does not parse a string and can only accept numeric values to input as size in pixels.
This would be important to ensure a responsive size for the avatar by using VW as a unit.
The text was updated successfully, but these errors were encountered:
feat(module:avatar): add nzSrcSet & nzAlt properites (#3583)
d0ad5e8
* feat(module:avatar): add nzSrcSet & nzAlt properites - support custom unit in image avatar, close #3543 * chore: add docs
feat(module:avatar): add nzSrcSet & nzAlt properites (NG-ZORRO#3583)
7ac0563
* feat(module:avatar): add nzSrcSet & nzAlt properites - support custom unit in image avatar, close NG-ZORRO#3543 * chore: add docs
d3d3874
cipchk
Successfully merging a pull request may close this issue.
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-avatar-customsize
Steps to reproduce
Use a string input in nzSize such as
What is expected?
For the component to use the desired unit
What is actually happening?
The component does not parse a string and can only accept numeric values to input as size in pixels.
This would be important to ensure a responsive size for the avatar by using VW as a unit.
The text was updated successfully, but these errors were encountered: