I am trying to resize (shorten) mat-options within an mat-select. Unfortunately, I always get an extra area of padding. Is there not a designed way for this? Anyone have any experience? Here is my StackBlitz, it's very close:
Basically I need all 3 dropdown items to actually be 100px wide on this StackBlitz HERE.
EDIT
I STILL NEED HELP
@David's answer is very close, there are just some issues with styling the cdk-overlay-container without :host
I'm not able to use :host
as it will effect the other dropdowns on the screen when that is not intended.
!important
? – Antoniossssmat-select
I found useful to just add a custom class and target that class on themat-form-field
you can then just removepadding
,margin
and set awidth
; I end up with something like this imgur.com/a/jcurGsk – IvanS95