Web: Components: Utils: fix isMobile
This commit is contained in:
parent
7b8ab2386e
commit
ef92cd321b
@ -14,7 +14,7 @@ export const tablet = `(max-width: ${size.tablet}px)`;
|
||||
export const desktop = `(min-width: ${size.desktop}px)`;
|
||||
|
||||
export const isMobile = () => {
|
||||
return window.innerWidth < size.mobile;
|
||||
return window.innerWidth <= size.mobile;
|
||||
};
|
||||
|
||||
export const isSmallTablet = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user