From fb6bd757df2a066d0effab5a1eafca05ffe8e50e Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 14 Aug 2013 22:08:17 +0200 Subject: [PATCH 1/3] add information on how to disable mobile zoom to the docs --- css.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css.html b/css.html index 0ad11fae2f..1a74e3b7bc 100644 --- a/css.html +++ b/css.html @@ -29,6 +29,10 @@ base_url: "../"

To ensure proper rendering and touch zooming, add the viewport meta tag to your <head>.

{% highlight html %} +{% endhighlight %} +

You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag.

+{% highlight html %} + {% endhighlight %}

Responsive images

From a3b279c556560079a84c25a631ebcec8fcefe38e Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 14 Aug 2013 23:26:34 +0200 Subject: [PATCH 2/3] improve the "zoom disabled" documentation --- css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.html b/css.html index 1a74e3b7bc..45fc5d6464 100644 --- a/css.html +++ b/css.html @@ -30,7 +30,7 @@ base_url: "../" {% highlight html %} {% endhighlight %} -

You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag.

+

You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag. This way, your mobile users will only be able to scroll, and it will result in your app feeling a bit more like the rest of the applications that you could find on the device.

{% highlight html %} {% endhighlight %} From fb71f402456b27b66184acbd341e8119188c3c20 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 14 Aug 2013 23:51:26 +0200 Subject: [PATCH 3/3] tweak note about zoom disabled on mobile --- css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.html b/css.html index 45fc5d6464..045be7876d 100644 --- a/css.html +++ b/css.html @@ -30,7 +30,7 @@ base_url: "../" {% highlight html %} {% endhighlight %} -

You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag. This way, your mobile users will only be able to scroll, and it will result in your app feeling a bit more like the rest of the applications that you could find on the device.

+

You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag. This disables zooming, meaning users are only able to scroll, and results in your site feeling a bit more like a native application. Overall we don't recommend this on every site, so use caution!

{% highlight html %} {% endhighlight %}