Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 0ad96ba

Browse files
devversionkara
authored andcommitted
docs(): viewport should be not scalable (#9490)
* Normally modern webapp do not allow the developer to zoom into the page on mobile. This applies the most common meta tag to the docs page and makes the demos look way better on mobile. * Components, which have a text input (like datepicker, autocomplete or normal input) no longer zoom in, when clicking on them.
1 parent 399016d commit 0ad96ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/template/index.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Angular Material
88
</title>
99
<link rel="icon" type="image/x-icon" href="favicon.ico" />
10-
<meta name="viewport" content="initial-scale=1" />
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
1111
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">
1212
<link rel="stylesheet" href="angular-material.min.css">
1313
<link rel="stylesheet" href="docs.css">

0 commit comments

Comments
 (0)