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

Setting badge size and color with avatar is not working #8939

Open
micobarac opened this issue Dec 16, 2024 · 0 comments
Open

Setting badge size and color with avatar is not working #8939

micobarac opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@micobarac
Copy link

micobarac commented Dec 16, 2024

Reproduction link

https://stackblitz.com/edit/bgun8kqe?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

Set dot badge color with nzColor, when using nzDot directive. NG-Zorro creates a standalone badge dot, alongside a attached dot, which gets displaced. It would be nice to set color with nzDot, and to have nzSize have more options, Like this, the dot is too small.

What is expected?

Change badge color with avatar.

What is actually happening?

Cannot set dot badge color, when using nzDot directive. NG-Zorro creates a standalone badge dot, alongside a attached dot, which gets displaced. It would be nice to set color with nzDot, and to have nzSize have more options, Like this, the dot is too small.

Environment Info
ng-zorro-antd 19.0.0-beta.0; 18.2.1
Browser Google Chrome Version 131.0.6778.140 (Official Build) (arm64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants