Skip to content

Commit

Permalink
Fix overflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Nov 27, 2024
1 parent 1dcb3e6 commit f13ff89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/latest/preview/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { example } = Astro.props;
const previewImage = await example.loadPreviewImage?.();
---

<html lang="en" class="h-full overflow-x-hidden bg-astro-gray-700 text-astro-gray-100">
<html lang="en" class="h-full overflow-hidden bg-astro-gray-700 text-astro-gray-100">
<head>
<Head
title=`Preview: ${example.title}`
Expand All @@ -31,7 +31,7 @@ const previewImage = await example.loadPreviewImage?.();

<body class="grid h-full grid-rows-[auto,1fr]">
<header
class="noise-container z-10 grid h-24 grid-cols-[1fr,auto,1fr] items-center gap-6 overflow-x-hidden border-b border-astro-gray-100/20 px-8 supports-[overflow-x:clip]:overflow-x-clip"
class="noise-container z-10 grid h-24 grid-cols-[1fr,auto,1fr] items-center gap-6 border-b border-astro-gray-100/20 px-8"
>
<div class="noise"></div>
<a
Expand All @@ -52,7 +52,7 @@ const previewImage = await example.loadPreviewImage?.();
</header>

<main
class="md:md-y:pb-8 lg:md-y:p-16 noise-container bg-gradient-to-b from-transparent via-transparent to-astro-purple/5 md:p-8 md:pb-0"
class="md:md-y:pb-8 lg:md-y:p-16 noise-container overflow-x-hidden bg-gradient-to-b from-transparent via-transparent to-astro-purple/5 supports-[overflow-x:clip]:overflow-x-clip md:p-8 md:pb-0"
aria-labelledby="site-preview"
>
<GridGradientsAndNoise />
Expand Down

0 comments on commit f13ff89

Please sign in to comment.