angular 5 material - form fields stuck at 180px

后端 未结 6 1276
感动是毒
感动是毒 2020-12-29 01:26

Ive create a form in a dialog using material forms but I cant seem to get the inputs to be wider than 180px despite following numerous examples including https://material.an

6条回答
  •  心在旅途
    2020-12-29 01:27

    ::ng-deep .mat-form-field-infix {
      width:800px !important;
    }
    

    This should work fine.Not sure if it can be done without custom CSS.

提交回复
热议问题