Attempts to fix the code scrolling

This commit is contained in:
2026-04-21 16:41:34 -07:00
parent 609ac3e9c3
commit 65cb7bb0f8
2 changed files with 39 additions and 40 deletions

View File

@@ -41,7 +41,6 @@ const { slug, title, description, pubDate, updatedDate, heroImage, tags } = Astr
}
</style>
<RootLayout title={title} description={description}>
<main>
<NotchedBox fillNotches="left">
<article class="h-entry">
<div class="hero-image">
@@ -84,5 +83,4 @@ const { slug, title, description, pubDate, updatedDate, heroImage, tags } = Astr
</div>
</article>
</NotchedBox>
</main>
</RootLayout>

View File

@@ -176,6 +176,7 @@ code {
pre {
padding: 1.5em;
border-radius: 8px;
overflow: scroll;
}
pre > code {
all: unset;