bug(badge): Badge doesn't react to the browser font size
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
When you change the size of the font through the browser settings. The badges remain the same size.
Comparison images:
small

large

chrome option

### Reproduction
Steps to reproduce:
1. Go in the Chrome options
2. Search for "Font size"
3. Set to "Very small"
4. Go on https://material.angular.io/components/badge/overview
5. Now change to "Very large"
6. Compare again on the doc page
### Expected Behavior
I have a feeling the badges should follow the size of the font.
### Actual Behavior
Badges font remain unchanged between very small or very large font option.
### Environment
- Angular: 16.2.5
- CDK/Material: 16.2.5
- Browser(s): Chrome 116.0.5845.187
- Operating System (e.g. Windows, macOS, Ubuntu): macOS 13.5.2
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema nella panoramica dei badge Material all'indirizzo material.angular.io/components/badge/overview, usando l'impostazione della dimensione dei caratteri di Chrome e confrontando «Molto piccola» con «Molto grande». Il lavoro è completato quando il carattere e la dimensione del badge reagiscono in modo coerente alle modifiche della dimensione dei caratteri del browser e il comportamento è stato verificato con entrambe le impostazioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- accessibility, frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100