mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-05 05:07:35 +02:00
Fix code block white-space breaks within pre tags.
This commit is contained in:
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@@ -993,6 +993,8 @@ pre.prettyprint {
|
|||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
white-space: pre;
|
||||||
|
white-space: pre-wrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
@@ -47,6 +47,8 @@ pre {
|
|||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
white-space: pre;
|
||||||
|
white-space: pre-wrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user