I have a mobile version of a website that uses CSS media queries to determine orientation.
The layout changes based on landscape / portrait and adjusts widths accordingly.
Recently the companion native mobile app has been published in the Apple app store - and I implemented the Apple Smart App Banner.
The problem is that while the Smart Banner is displayed - the layout rendered is that for the landscape version - no matter the actual orientation.
This is an issue because in portrait everything looks funky.
I cannot find a workaround for this or what is going on.
To provide more context - this is a Rails project - mobile website is built using jQuery Mobile.
Has anyone else experienced this or know of a solution?