Fix code block overflow issue in comments

This commit is contained in:
Rūdolfs Ošiņš
2024-05-09 13:41:37 +02:00
parent 067295ed05
commit 521ccd0928
5 changed files with 16 additions and 10 deletions
+3 -1
View File
@@ -192,7 +192,9 @@
state = "read";
}} />
{:else}
<Markdown breaks {rawPath} content={body} />
<div style:overflow="hidden">
<Markdown breaks {rawPath} content={body} />
</div>
{/if}
</div>
{/if}
-1
View File
@@ -214,7 +214,6 @@
scroll-padding-top: 4rem;
}
.markdown {
max-width: 1024px;
word-break: break-word;
}
.front-matter {