I’m trying to resize a modal to emulate an alert. But I don’t know where I need to call the css class in the html view.
I tried in the navbar, ion-content, etc, but doesn’t work.
Where I need to call the css class in the view to make it small?
This is not really something I would recommend, as it could give you some unexpected results depending on the device. Why not use the Alert component? What is your reason for wanting to do this in a modal?
Because in Ionic 2 I can’t modify the alert as I want to. Customizing everything, putting inside and Imagen, etc. As far as I read today, the best way is a modal.