Hello, as you can see in the screenshot attached, I'm having issues with the styling of the mat-form-field, whenever a label is added.
I am using the following packages:
[email protected]
@angular/[email protected]
Below you can see the code of the input field:
<mat-form-field class="w-full">
<mat-label> Title </mat-label>
<input matInput class="w-full" placeholder="e.g., Test test" />
</mat-form-field>
and my imports in the .ts file:
imports: [
ReactiveFormsModule,
MatButtonModule,
MatChipsModule,
MatDatepickerModule,
MatDialogModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
],
I have already tried fully removing w-full classes but this doesn't change anything.
I already tried flipping order of styles.scss, tailwind.css, and @angular/material/prebuilt-themes/cyan-orange.css in angular.json but unfortunately to no avail. I am using prebuilt Cyan Orange theme from official Angular material website.
When tailwindcss is completely removed from angular.json in styles array, then the issue is non-existent.
Any help would be appreciated, thank you in advance!