Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

1K
Vistas
How shall I adjust the size of mat-form-field mat-chip?

This is the output of my html code enter image description here

I want to make the size of mat-chip form field even as the above form-field.

This is location from where I used chips..I want to decrease the size of the chip mat-form.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

You can override the styles from angular/material.

In this case, it is enough to simply add the same property in a style rule in your component's CSS file. Your component CSS has higher specificity than the mat-chip rules below.

The height of the chip is determined by the following rule:

.mat-standard-chip {
   min-height: 32px;
}

So you could override this to make the chip smaller.

You may also want to modify the font-size with the following rule:

.mat-chip {
   font-size: 14px;
}
over 4 years ago · Santiago Trujillo Denunciar

0

from dev tools, try to get the right class attached with the element you wish to set the size for. Then using any preprocessor css, set the style for that element inside the component class the element is present.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda