Skip to content

Commit

Permalink
prevents white space bounce after scrolling to the top of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
scottpiercew committed Apr 26, 2024
1 parent 7bb4db3 commit bbe98e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { title = null } = Astro.props
---

<!doctype html>
<html lang="en">
<html lang="en" class="overflow-hidden h-full">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
Expand All @@ -32,7 +32,7 @@ const { title = null } = Astro.props
<title>MCSWF {title && '-'} {title}</title>
</head>
<body
class="font-expressway bg-opacity-40 text-white bg-custom-gradient-red bg-cover bg-center">
class="overflow-auto h-full font-expressway bg-opacity-40 text-white bg-custom-gradient-red bg-cover bg-center">
<Banner />
<header class="w-full sticky top-0 z-30">
<Navigation client:only="svelte" />
Expand Down

0 comments on commit bbe98e3

Please sign in to comment.