How to overwrite angular 2 material styles?

前端 未结 11 1001
南旧
南旧 2020-12-01 12:06

I have this select in angular material:

Its code :



        
11条回答
  •  眼角桃花
    2020-12-01 12:40

    You can try adding this code.

    .mat-dialog-container{
         padding: 0px !important;
    }
    

    If this does not work you can use

    /deep/.className {
    ... your code goes here
    }
    

提交回复
热议问题