diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-24 01:25:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-24 01:25:07 +0200 |
commit | dae0af1fd2499a2eca2becbbec13356a27c4e81c (patch) | |
tree | dd9657c193572629e4352bd28ed73081f1b9e239 /app/javascript/mastodon/is_mobile.js | |
parent | 5b8d0ad71b137724660455b41f5e19db438aa201 (diff) |
Change mobile layout breakpoint from 1024px to 630px (#5063)
630px = Drawer + 1 Column
Diffstat (limited to 'app/javascript/mastodon/is_mobile.js')
-rw-r--r-- | app/javascript/mastodon/is_mobile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/is_mobile.js b/app/javascript/mastodon/is_mobile.js index dbdb30081..f96df1ebb 100644 --- a/app/javascript/mastodon/is_mobile.js +++ b/app/javascript/mastodon/is_mobile.js @@ -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; |