Horizontally scrollable code blocks, instead of wrapping.

This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
This commit is contained in:
Camel Coder 2023-06-14 12:00:13 +00:00 committed by GitHub
parent f61037f5d8
commit be60dae9f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,6 +75,11 @@
font-size: 1.2rem; font-size: 1.2rem;
} }
.md-div pre {
white-space: pre;
overflow-x: auto;
}
.md-div table { .md-div table {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;