diff options
| author | XhmikosR <[email protected]> | 2018-12-16 16:39:48 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-16 16:39:48 +0200 |
| commit | 07b4b5907bf82f302517b0ec0f2686f76577668d (patch) | |
| tree | 62205a29a6c734145ff943f08888080197636aa7 /site/docs | |
| parent | 8ee2065d163425abfbf5d66c39683742b178f14e (diff) | |
| download | bootstrap-07b4b5907bf82f302517b0ec0f2686f76577668d.tar.xz bootstrap-07b4b5907bf82f302517b0ec0f2686f76577668d.zip | |
Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" (#27855)
This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.
Diffstat (limited to 'site/docs')
| -rw-r--r-- | site/docs/4.1/getting-started/introduction.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/4.1/getting-started/introduction.md b/site/docs/4.1/getting-started/introduction.md index 5d84ba66a..55ced2f9c 100644 --- a/site/docs/4.1/getting-started/introduction.md +++ b/site/docs/4.1/getting-started/introduction.md @@ -65,7 +65,7 @@ Be sure to have your pages set up with the latest design and development standar <head> <!-- Required meta tags --> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous"> @@ -106,7 +106,7 @@ Bootstrap requires the use of the HTML5 doctype. Without it, you'll see some fun Bootstrap is developed *mobile first*, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, **add the responsive viewport meta tag** to your `<head>`. {% highlight html %} -<meta name="viewport" content="width=device-width, initial-scale=1"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> {% endhighlight %} You can see an example of this in action in the [starter template](#starter-template). |
