0
0
Fork 0

Change mobile layout breakpoint from 1024px to 630px (#5063)

630px = Drawer + 1 Column
This commit is contained in:
Eugen Rochko 2017-09-24 01:25:07 +02:00 committed by GitHub
parent 5b8d0ad71b
commit dae0af1fd2
3 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
import detectPassiveEvents from 'detect-passive-events';
const LAYOUT_BREAKPOINT = 1024;
const LAYOUT_BREAKPOINT = 630;
export function isMobile(width) {
return width <= LAYOUT_BREAKPOINT;