aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-22 08:40:17 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-22 08:40:33 +0800
commitb0000bb276df7609bea8a48252063693f0553222 (patch)
tree765883268e196210e357ade9cde89839d35fa816 /packages/website/ts/utils
parent82789d53155772e339c1c500bb538638dfc20376 (diff)
downloaddexon-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.ts3
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;
+ },
};