diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-01-30 16:31:31 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-01-30 16:31:31 +0100 |
commit | 6a2cb42e6b7bd8374d47552a4b0bb57b88a4f23f (patch) | |
tree | c705428cf795ef39bc1d89b055a76cf11d23f489 | |
parent | 2219107c69189997289cfbcb3f76ba5ddff1ac51 (diff) | |
download | perl-software-in-gnu-guix-6a2cb42e6b7bd8374d47552a4b0bb57b88a4f23f.tar perl-software-in-gnu-guix-6a2cb42e6b7bd8374d47552a4b0bb57b88a4f23f.tar.gz |
enable pinch-to-zoom for android
-rw-r--r-- | css/reveal.css | 4 | ||||
-rw-r--r-- | css/reveal.scss | 2 | ||||
-rw-r--r-- | demo.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/css/reveal.css b/css/reveal.css index 4a9f030..63ba646 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -469,8 +469,8 @@ body { width: 100%; height: 100%; overflow: hidden; - -ms-touch-action: none; - touch-action: none; } + -ms-touch-action: pinch-zoom; + touch-action: pinch-zoom; } .reveal .slides { position: absolute; diff --git a/css/reveal.scss b/css/reveal.scss index c79a562..ad6d1f5 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -566,7 +566,7 @@ $controlsArrowAngleActive: 36deg; width: 100%; height: 100%; overflow: hidden; - touch-action: none; + touch-action: pinch-zoom; } .reveal .slides { @@ -12,7 +12,7 @@ <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/reset.css"> <link rel="stylesheet" href="css/reveal.css"> |