bug(badge): Badge doesn't react to the browser font size
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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
Guía de contribución
Línea de trabajo
Empieza reproduciendo el problema en la vista general de badges de Material en material.angular.io/components/badge/overview, usando la configuración de tamaño de fuente de Chrome y comparando «Muy pequeño» con «Muy grande». La tarea estará completada cuando la fuente y el tamaño del badge respondan de forma coherente al cambiar el tamaño de fuente del navegador y se haya verificado el comportamiento con ambas opciones.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- accessibility, frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100