I wonder how do you people present modal windows on mobile viewports for a responsive website?
I usually make the modal window on mobile to occupy 100% of the viewport width and only leave some semi-transparent background on top and bottom, only to visually hint that it is a temporary state. But I also wanted to hear your opinions.
Yeah, but what I find in some modal windows are that they are really content heavy, and in order to maximize readability, more width is needed. I assume in your situation, your modals are simpler.
I meant leaving enough space for the close button not to half disappear off screen In reality a margin of 1em/16px is more than enough which give plenty of space for the modal + content.