mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 22:49:33 +00:00
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:
parent
f61037f5d8
commit
be60dae9f8
|
@ -75,6 +75,11 @@
|
|||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.md-div pre {
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.md-div table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in a new issue