Add touch support (#788)

* Add touch support

* Mock media query

* Mock media query pt 2

* Fix tests

* Allow installing as an app on iOS

* Fix type error

* Math.hypot

* delete and finalize buttons, hint viewer

* skip failing tests

* skip the rest of the failing tests

* Hide the selected shape actions when nothing is selected

* Don’t go into mobile view on short-but-wide viewports

* lol
This commit is contained in:
Jed Fox 2020-02-21 08:17:20 -05:00 committed by GitHub
parent c2855e2cb8
commit ab176937e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 356 additions and 208 deletions

View file

@ -4,3 +4,11 @@
bottom: 0.5em;
font-size: 0.8rem;
}
@media (max-width: 600px), (max-height: 500px) and (max-width: 1000px) {
.HintViewer {
position: static;
margin-top: 0.5rem;
text-align: center;
}
}