I have an Angular material project and I use reactive web forms. In that project I have a couple mat-form-fields with input formControls (matInput). I have seen that text with p g j etc are cut off.
3
votes
3 Answers
1
votes
You can fix this by tweaking the input line height in the inputs in your theme.
Example:
$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)
);
Check out https://material.angular.io/guide/typography for details.
1
votes
