Ion-datetime resize issue

I am using the ion-datetime component inside a modal. I have noticed this resize issue in the month and year selector:

month

The code is so simple, it is just an ion-datetime inside an ion-content with an ion-toolbar below.

<ion-content>
  <ion-datetime
    size="cover"
    presentation="date"
    [max]="maxDate"
    (ionChange)="onChange($event)"
    [value]="currentDate"
    class="ion-datetime-container"
    mode="ios"
  >
  </ion-datetime>

  <ion-toolbar>
    <ion-buttons *ngIf="shouldDisplayButtons" slot="end">
      <ion-button (click)="closeModal()">Close</ion-button>
      <ion-button (click)="closeModal(true)">Save</ion-button>
    </ion-buttons>
  </ion-toolbar>
</ion-content>