add basic support for mobile mode

This commit is contained in:
Géry Debongnie
2019-01-30 12:34:45 +01:00
parent 6012d76388
commit c627f87463
7 changed files with 78 additions and 3 deletions
+1 -1
View File
@@ -74,6 +74,6 @@ export const makeEnvironment = memoize(function(): Env {
rpc: ajax.rpc,
debug: false,
isMobile: false
isMobile: window.innerWidth <= 768
};
});