From 093382d3ffe94ca397a9597c6402df4f782506de Mon Sep 17 00:00:00 2001 From: Maxim Khlobystov Date: Thu, 5 Mar 2015 15:03:28 -0500 Subject: [PATCH] Made it impossible for the main content of the page to be shifted in landscape orientation, prevented problems on switching between views. --- bigbluebutton-html5/app/client/stylesheets/style.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bigbluebutton-html5/app/client/stylesheets/style.less b/bigbluebutton-html5/app/client/stylesheets/style.less index ef9e86abb8..ff39c55226 100755 --- a/bigbluebutton-html5/app/client/stylesheets/style.less +++ b/bigbluebutton-html5/app/client/stylesheets/style.less @@ -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;