Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70759

Increase size of modalController window

$
0
0

@peterjc wrote:

I have an application where I want display a popup using the modalController, and when on a tablet, I would like to have this bigger than the default values.

Looking in devtools, I can see the height and width set at the following…

As can be seen I have set the width to 90% in the devtools, and this has made the popup wider.

So, not worrying about the media query yet, just to see if it would work, I added the following to the pages sccs file, but it did not seem to get applied…

.sc-ion-modal-md-h {
    width: 90%;
    height: 90%;
}

Does anyone know why this did not work, and how I can do this?

Thanks in advance for any suggestions!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70759

Trending Articles