Currently developing a webpage where I have a few modals.
I was wondering if anyone had encountered the same problem as I am:
When I add the cssClass to the modal, the position of the modal gets out of frame (top left corner of screen) and the width and height set to the cssClass doesn’t really have any effect.
If I don’t set a cssClass the modal is positioned perfectly in the middle of the screen, which is nice, but I would like to have the modal a bit wider and maybe a bit smaller in height. I tried to position it too but that doesn’t seem to work either.
Anyone encountered this issue before? And if so, how did you solve it?
Like I said, if I don’t include .modalWrapper-class it just sets itself to position x 0 and y 0, and information in the modal is missing. And if I include the modalWrapper-class it doesn’t change anything.
I’ll have you know that I’m working with a webpage, not a mobile device.