Pet*_*ser 6 angular-material angular
我有一个 Angular 材料项目,并且使用反应式 Web 表单。在该项目中,我有几个带有输入 formControls (matInput) 的 mat-form-fields。我看到带有 pgj 等的文本被切断。
您可以通过调整主题输入中的输入行高度来解决此问题。
例子:
$custom-typography: mat-typography-config(
$font-family: 'apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
$input: mat-typography-level(inherit, 1.15, 400)
);
Run Code Online (Sandbox Code Playgroud)
有关详细信息,请查看https://material.angular.io/guide/typography 。
归档时间: |
|
查看次数: |
3283 次 |
最近记录: |