Attempts to fix the code scrolling
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user