Made it impossible for the main content of the page to be shifted in landscape orientation, prevented problems on switching between views.

This commit is contained in:
Maxim Khlobystov 2015-03-05 15:03:28 -05:00
parent ba80d03b07
commit 093382d3ff

View File

@ -280,6 +280,14 @@ body {
-webkit-flex-flow: row;
flex-flow: row;
height: calc(~'100% - 40px');
/**
* Making sure these properties can't be overriden in landscape orientation
* (landscape view can't be shifted by the sliding menu).
*/
position: relative !important;
top: 0 !important;
left: 0 !important;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-flex-flow: column;