mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Don't wrap the code snippets in our docs (#31679)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -283,6 +283,7 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: .65rem;
|
margin-top: .65rem;
|
||||||
margin-bottom: .65rem;
|
margin-bottom: .65rem;
|
||||||
|
white-space: pre;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
@@ -290,6 +291,7 @@
|
|||||||
pre code {
|
pre code {
|
||||||
@include font-size(inherit);
|
@include font-size(inherit);
|
||||||
color: $gray-900; // Effectively the base text color
|
color: $gray-900; // Effectively the base text color
|
||||||
|
word-wrap: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user