mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
UI: Markdown Code Wrapping (#10195)
This commit is contained in:
parent
abb01148fa
commit
9eedc83e00
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,9 @@ pre code {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-moz-tab-size: 4;
|
-moz-tab-size: 4;
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
|
&.lang-markdown {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO figure out a clean place to put stuff like this
|
// TODO figure out a clean place to put stuff like this
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue