diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 08:40:17 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 08:40:33 +0800 |
commit | b0000bb276df7609bea8a48252063693f0553222 (patch) | |
tree | 765883268e196210e357ade9cde89839d35fa816 /packages/website/ts/utils | |
parent | 82789d53155772e339c1c500bb538638dfc20376 (diff) | |
download | dexon-0x-contracts-b0000bb276df7609bea8a48252063693f0553222.tar.gz dexon-0x-contracts-b0000bb276df7609bea8a48252063693f0553222.tar.zst dexon-0x-contracts-b0000bb276df7609bea8a48252063693f0553222.zip |
Fix z-index issues
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 6363d1d2e..0cb965f05 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -365,4 +365,7 @@ export const utils = { openUrl(url: string): void { window.open(url, '_blank'); }, + isMobile(screenWidth: ScreenWidths): boolean { + return screenWidth === ScreenWidths.Sm; + }, }; |