0

I would like to resize the spinner buttons of the number input I declared in a ion-alert.

view of the too small spinner buttons

I tried tips I found but it does not work in my case. In my ts file:

const alert = await this.alertController.create({
     header: 'input type=number in an ion-alert',
         inputs: [
             {
                 label: 'MyLabel',
                 type: 'number',
                 value: 6,
                 cssClass: 'myCustomClass',
             },
         ],

In global.scss:

ion-spinner.alert-input.myCustomClass{
     width: 3em;
     height: 3em;
}

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.