I implemented a modal like that:
I works fine for large resolution but when simulate on iPhone 5, It becomes maximize state.
How can I prevent that? I just want to show model like the 1st image for all devices.
You can use css for that.