Skip to content

Commit

Permalink
Defined mobile viewport properties
Browse files Browse the repository at this point in the history
  • Loading branch information
codeaid committed May 4, 2024
1 parent 5d84bcf commit 41895a1
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 @@ -13,9 +13,14 @@ export const metadata: Metadata = {
};

export const viewport: Viewport = {
initialScale: 1,
maximumScale: 1,
themeColor: {
color: '#0A1123',
},
userScalable: false,
viewportFit: 'cover',
width: 'device-width',
};

const RootLayout = (props: PropsWithChildren) => (
Expand Down

0 comments on commit 41895a1

Please sign in to comment.