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

View File

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