fix: plain text code blocks now wrap text properly

This commit is contained in:
Wayne Sutton
2025-12-25 00:31:30 -08:00
parent 27847327fd
commit 01db0a70e2
11 changed files with 137 additions and 16 deletions

View File

@@ -1388,6 +1388,14 @@ body {
margin: 24px 0;
}
/* Allow text wrapping for plain text code blocks */
.code-block-text pre,
.code-block-text code {
white-space: pre-wrap !important;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
}
.code-language {
position: absolute;
top: 8px;