【发布时间】:2019-07-12 13:16:44
【问题描述】:
我目前正在使用 angular 7 处理有角度的材料。我们如何调整 mat-form-field-underline 的高度,从而进一步在选择框周围提供 边框。
<mat-form-field>
<mat-select>
<mat-option *ngFor="let type of types" [value]="type.value">{{type.viewValue}}</mat-option>
</mat-select>
</mat-form-field>
我尝试使用:
.link-1 .mat-form-field-underline{
height: 0px !important;
}
这里的 link-1 是父分区。但我没有发现任何区别。
谢谢。
【问题讨论】:
-
请看我更新的答案
标签: css angular typescript angular7