aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-27 17:47:41 +0200
committerGitHub <[email protected]>2019-02-27 17:47:41 +0200
commitd5f9107abb4917488d5fc8a1eb8d5a4f01229f01 (patch)
tree614d74e07ba74def1f9897defa5e53c84c0fc13c /site
parent428280574b50b3edf8d50170ddf827d4f0d14a7e (diff)
downloadbootstrap-d5f9107abb4917488d5fc8a1eb8d5a4f01229f01.tar.xz
bootstrap-d5f9107abb4917488d5fc8a1eb8d5a4f01229f01.zip
Remove the now unneeded `shrink-to-fit` directive. (#28314)
Diffstat (limited to 'site')
-rw-r--r--site/_includes/header.html2
-rw-r--r--site/_layouts/examples.html2
-rw-r--r--site/docs/4.3/getting-started/introduction.md4
3 files changed, 4 insertions, 4 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 8fa50f395..9dbd350fc 100644
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -1,5 +1,5 @@
<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
<meta name="author" content="{{ site.authors }}">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html
index cc4344f02..f7e4556e4 100644
--- a/site/_layouts/examples.html
+++ b/site/_layouts/examples.html
@@ -2,7 +2,7 @@
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
<head>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="{{ site.authors }}">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
diff --git a/site/docs/4.3/getting-started/introduction.md b/site/docs/4.3/getting-started/introduction.md
index 26e321ed3..49602f360 100644
--- a/site/docs/4.3/getting-started/introduction.md
+++ b/site/docs/4.3/getting-started/introduction.md
@@ -63,7 +63,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, shrink-to-fit=no">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
@@ -103,7 +103,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, shrink-to-fit=no">
+<meta name="viewport" content="width=device-width, initial-scale=1">
{% endhighlight %}
You can see an example of this in action in the [starter template](#starter-template).