Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1K
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!