mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-26 03:53:44 +00:00
Remove the now unneeded shrink-to-fit directive. (#28314)
This commit is contained in:
parent
428280574b
commit
d5f9107abb
15 changed files with 16 additions and 16 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<!-- Required meta tags -->
|
<!-- Required meta tags -->
|
||||||
<meta charset="utf-8">
|
<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 -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Alert</title>
|
<title>Alert</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Button</title>
|
<title>Button</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Carousel</title>
|
<title>Carousel</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Collapse</title>
|
<title>Collapse</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Dropdown</title>
|
<title>Dropdown</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Modal</title>
|
<title>Modal</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Popover</title>
|
<title>Popover</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Scrollspy</title>
|
<title>Scrollspy</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Tab</title>
|
<title>Tab</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Toast</title>
|
<title>Toast</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Tooltip</title>
|
<title>Tooltip</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<meta charset="utf-8">
|
<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="description" content="{{ page.description | default: site.description | smartify }}">
|
||||||
<meta name="author" content="{{ site.authors }}">
|
<meta name="author" content="{{ site.authors }}">
|
||||||
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
|
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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="description" content="">
|
||||||
<meta name="author" content="{{ site.authors }}">
|
<meta name="author" content="{{ site.authors }}">
|
||||||
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ Be sure to have your pages set up with the latest design and development standar
|
||||||
<head>
|
<head>
|
||||||
<!-- Required meta tags -->
|
<!-- Required meta tags -->
|
||||||
<meta charset="utf-8">
|
<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 -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
|
<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>`.
|
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 %}
|
{% 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 %}
|
{% endhighlight %}
|
||||||
|
|
||||||
You can see an example of this in action in the [starter template](#starter-template).
|
You can see an example of this in action in the [starter template](#starter-template).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue