Ion 3-dimensional font size

I am using the ion-ion option ion-select => as an input for my ionic 3 project. It gives a warning about the selection, however, the font size of the notification body is very small, and I tried all sass options to increase the font size all in vain. I tried to use .alert-md, .alert-tappable. Is there any way to increase the font.

enter image description here

.scss

.ios, .md {
  page-add-stock {
    /*.alert-md .alert-checkbox-label{

    }*/
    .alert-radio-label {
      font-size: 3rem;
    }
  }
}

.html

  <ion-select  [(ngModel)]="category" formControlName="category" >
    <ion-option>Pesticides</ion-option>
    <ion-option>Seeds</ion-option>
    <ion-option>Herbicides</ion-option>
    <ion-option>Fertilizers</ion-option>
    <ion-option>Farming tools</ion-option>
  </ion-select>

Html ion-select, which generates a warning, just in case.

+4
source share
1 answer

Ionic Sass, ( , , ), CSS :

.alert-radio-label {
    font-size: 3rem;
}

font-size: 1.6rem; Android, font-size: 1.4rem; iOS.

UPDATE

, html alert , app.scss.

+3

Source: https://habr.com/ru/post/1682372/


All Articles