We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
overflow-x-hidden
dvh
dvw
1 parent 61104a7 commit 020405bCopy full SHA for 020405b
src/layouts/BaseLayout.astro
@@ -6,7 +6,7 @@ import '@styles/global.css';
6
const { description, title } = Astro.props;
7
---
8
9
-<html lang="en" class="dark min-h-dvh scroll-pt-16">
+<html lang="en" class="dark min-h-dvh w-dvw scroll-pt-16 overflow-x-hidden">
10
<head>
11
<meta charset="utf-8" />
12
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
@@ -16,7 +16,7 @@ const { description, title } = Astro.props;
16
<title>{title}</title>
17
<slot name="head" />
18
</head>
19
- <body class="flex flex-col items-center min-w-[100dvw] min-h-[100dvh]">
+ <body class="flex flex-col items-center">
20
<NavBar />
21
<slot />
22
<Footer />
0 commit comments