prevent the use of confusing globals
This commit is contained in:
parent
fd102348ce
commit
6159eca8f8
18 changed files with 44 additions and 34 deletions
|
@ -799,7 +799,7 @@ import 'flexStyles';
|
|||
}
|
||||
|
||||
function getNavDrawerOptions() {
|
||||
let drawerWidth = screen.availWidth - 50;
|
||||
let drawerWidth = window.screen.availWidth - 50;
|
||||
drawerWidth = Math.max(drawerWidth, 240);
|
||||
drawerWidth = Math.min(drawerWidth, 320);
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue