Topic: Dragged out Side-nav causing the "body" size to remain fixed on device rotate
                  
                  Diamond Obama
                  pro
                  asked 8 years ago
                
body size remains fixed at portrait size. 
A similar thing happens when in landscape mode and the side-nav is dragged out and device got rotated, the body size remains fixed, causing the page to look distorted.
                
                  
                      
                      Magdalena Obalska
                      free
                        answered 8 years ago
                    
                      
                      Diamond Obama
                      pro
                        answered 8 years ago
                    
- Go to mdbootstrap.com/live/_MDB/templates/Admin/invoice.html on Google Chrome browser
 - Open your developer console and choose any mobile device for simulation
 - In portrait mode, drag from left to right to open Side navigation panel
 - While its opened, click the rotate icon at the top to switch to landscape mode
 - Check the body elements behind the dark overlay not reflowing to fill the screen because it's size is now fixed to portrait mode
 
- On the same page in landscape mode, drag from left to right to open Side navigation panel
 - While its opened, click the rotate icon at the top to switch to portrait mode
 - Note the body elements and the Side-nav decreased in size, also the dark overlay not filling up the entire screen
 
                      
                      Magdalena Obalska
                      free
                        answered 8 years ago
                    
Diamond Obama pro commented 8 years ago
Unfortunately, screenshot won't help and it's a generic problem happening even on your homepage. To reproduce: Go to mdbootstrap.com/live/_MDB/templates/Admin/invoice.html on Google Chrome browser Open your developer console and choose any mobile device for simulation In portrait mode, drag from left to right to open Side navigation panel While its opened, click the rotate icon at the top to switch to landscape mode Check the body elements behind the dark overlay not reflowing to fill the screen because it's size is now fixed to portrait mode On the same page in landscape mode, drag from left to right to open Side navigation panel While its opened, click the rotate icon at the top to switch to portrait mode Note the body elements and the Side-nav decreased in size, also the dark overlay not filling up the entire screenFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: Yes
 - Provided link: No