-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website: Enable zoom in/out on mobile (#897)
* update website for mobile interaction * format
- Loading branch information
1 parent
25160b9
commit 8a78f58
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export const isMobile = (props) => `@media screen and (max-width: 480px)`; | ||
export const MOBILE_CUTOFF_WINDOW_WIDTH = 480; | ||
|
||
export const isMobile = (props) => | ||
`@media screen and (max-width: ${MOBILE_CUTOFF_WINDOW_WIDTH}px)`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters