Skip to content

Commit f4466dd

Browse files
committed
Fix code block white-space breaks within pre tags.
1 parent 306c1b4 commit f4466dd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/assets/css/bootstrap.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,8 @@ pre.prettyprint {
993993
pre code {
994994
padding: 0;
995995
color: inherit;
996+
white-space: pre;
997+
white-space: pre-wrap;
996998
background-color: transparent;
997999
border: 0;
9981000
}

less/code.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ pre {
4747
code {
4848
padding: 0;
4949
color: inherit;
50+
white-space: pre;
51+
white-space: pre-wrap;
5052
background-color: transparent;
5153
border: 0;
5254
}

0 commit comments

Comments
 (0)