I used mat-datepicker in angular 5 to get input date. However when the calender opens up, a few months layout is odd (content gets congested). Other months look fine.
I have imported indigo-pink.css in my styles.css too
html code:
<tr style="width:50%">
<td>
<span class="cellLabel">Choose a Date for Installation:</span>
</td>
<td>
<span class="cellLabelMand">
<mat-form-field>
<input matInput [matDatepicker]="picker" [(ngModel)]="date" placeholder="Choose a date">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
<mat-datepicker #picker></mat-datepicker>
</mat-form-field>
</span>
</td>
</tr>
app.module.ts has the following import:
import {MatDatepickerModule, MatNativeDateModule, MatInputModule, MatFormFieldModule} from '@angular/material';
these modules are also added to imports and exports
The layout should not get congested for some months. Please help me get it fixed.