ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Modals in Landscape

Open mbuster opened this issue 12 years ago • 2 comments

My modals are appearing off-center when the @media (min-width: 680px) query (ionic.css ~ line 3098) is active. The modal has a width of 768px (the max-width property). It appears that adding !important to width:60% (line 3107) resolves it for now, though I'd imagine that layouts where 768px is larger than 60% will have off-center modals again.

mbuster avatar Mar 18 '14 13:03 mbuster

I removed the max-width property entirely to prevent this problem. For v1.0 this will be our solution, but in the future the modal will go through some design tweaks for larger screens. Thanks.

adamdbradley avatar Mar 18 '14 19:03 adamdbradley

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 06:09 ionitron-bot[bot]