fixed maps dialog mobile appearance

This commit is contained in:
muerwre 2019-02-15 11:56:27 +07:00
parent 679c485b89
commit df15cddb27
6 changed files with 26 additions and 9 deletions

3
src/utils/window.js Normal file
View file

@ -0,0 +1,3 @@
import { MOBILE_BREAKPOINT } from '$config/frontend';
export const isMobile = () => (window.innerWidth <= MOBILE_BREAKPOINT);