I've been attempting to customize the max-height property of a div that organizes elements in a popup using the interfaceOptions attribute in Ionic, but so far I haven't been successful. Here's what I have tried:
customOptions: Record<string, string> = {
header: this.translate.instant('mobile.giving.deductionStartDateHeader'),
cssClass: 'ion-select-max-height'
};
.ion-select-max-height {
.alert-radio-group {
max-height: 100%!important;
}
}
<ion-select [interfaceOptions]="customOptions" [formControlName]="fields.deductionStartDate">
<ion-select-option *ngFor='let date of company.possibleDeductionDates | slice:0:6' [value]="date">
{{ date | date:'mediumDate' }}
</ion-select-option>
</ion-select>
Is there a way to adjust the max-height of a div with the class .alert-radio-group without affecting any global styles?