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:
parent
ba80d03b07
commit
093382d3ff
@ -280,6 +280,14 @@ body {
|
|||||||
-webkit-flex-flow: row;
|
-webkit-flex-flow: row;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
height: calc(~'100% - 40px');
|
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 {
|
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
||||||
-webkit-flex-flow: column;
|
-webkit-flex-flow: column;
|
||||||
|
Loading…
Reference in New Issue
Block a user