Skip to content

Commit

Permalink
Add viewport-fit to viewport meta in Head component
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-hiller committed Mar 5, 2024
1 parent 55828f5 commit b82a1a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/components/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export const Head = component$(() => {

{/* Default metadata */}
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit: contain"
/>
<meta name="theme-color" content={themeColor.value} />
<link rel="canonical" href={location.url.href} />
<link rel="manifest" href="/manifest.json" />
Expand Down

0 comments on commit b82a1a1

Please sign in to comment.