Skip to content

Commit f72e79f

Browse files
committed
Fix incorrect zoomed display on mobile devices
1 parent a448880 commit f72e79f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/layouts/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ export default ({ children }) => (
3030
<Helmet>
3131
<title>{site.siteMetadata.title}</title>
3232
<link rel="me" href="https://mastodon.social/@testingrequired" />
33-
<meta name="viewport" content="width=device-width" />
33+
<meta
34+
name="viewport"
35+
content="width=device-width, initial-scale=1.0"
36+
/>
3437
</Helmet>
3538

3639
<Header fullscreen={location.pathname === '/'}>
3740
<h1>
3841
<Link to="/">
39-
<span style={{ whiteSpace: "nowrap" }}><Icon /> {site.siteMetadata.title}</span>
42+
<span style={{ whiteSpace: 'nowrap' }}>
43+
<Icon /> {site.siteMetadata.title}
44+
</span>
4045
</Link>
4146
</h1>
4247

0 commit comments

Comments
 (0)