Skip to content

Commit

Permalink
fix(zoom): prevent zooming on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarchen committed Jul 5, 2024
1 parent 45cbecf commit 4a19a7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ const RootLayout: FC<Props> = ({ children }) => {
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"
/>
{/* Prevent zoom on mobile */}
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
</head>
<body>
<div className="relative min-h-screen w-full snap-mandatory bg-background-light dark:bg-background">
Expand Down

0 comments on commit 4a19a7f

Please sign in to comment.