Skip to content

Commit

Permalink
Reduce meta viewport tag (withastro#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Aug 4, 2021
1 parent cde8294 commit 04e3cf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/astro-dynamic/src/pages/media.astro
Expand Up @@ -5,7 +5,7 @@ const MOBILE = "(max-width: 600px)";
<html>
<head>
<title>Media hydration</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width">
</head>
<body>
<!-- Inline value -->
Expand All @@ -14,4 +14,4 @@ const MOBILE = "(max-width: 600px)";
<!-- Using a variable -->
<Counter client:media={MOBILE} />
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion test/fixtures/vue-component/src/pages/index.astro
Expand Up @@ -6,7 +6,7 @@ import Counter from '../components/Counter.vue'
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
content="width=device-width"
/>
<title>Vue component</title>
<style>
Expand Down

0 comments on commit 04e3cf7

Please sign in to comment.