Skip to content

Commit

Permalink
Remove shrink-to-fit=no from viewport meta tag.
Browse files Browse the repository at this point in the history
It doesn't reflect current best use for iOS anymore. See joshbuchea/HEAD#198 and https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html.
  • Loading branch information
jolantis committed Feb 21, 2019
1 parent 0fb97ee commit 52d0195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/snippets/html-head.php
Expand Up @@ -24,7 +24,7 @@
<html class="no-js<?php echo $page_template . $fontobserver; ?>" lang="<?php echo $language_locale; ?>">
<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, viewport-fit=cover">

<?php /* <link rel="dns-prefetch" href="https://maps.googleapis.com"> */ ?>
<link rel="dns-prefetch" href="https://www.google-analytics.com">
Expand Down

0 comments on commit 52d0195

Please sign in to comment.