From: Mark Otto Date: Thu, 22 Oct 2020 22:06:52 +0000 (-0700) Subject: Don't wrap the code snippets in our docs (#31679) X-Git-Tag: v5.0.0-alpha3~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=594efec0f1e81cce7d315eecb9c47cc1e3cff543;p=thirdparty%2Fbootstrap.git Don't wrap the code snippets in our docs (#31679) Co-authored-by: XhmikosR --- diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss index 13e25bfc88..9e3e1c6539 100644 --- a/site/assets/scss/_component-examples.scss +++ b/site/assets/scss/_component-examples.scss @@ -283,6 +283,7 @@ padding: 0; margin-top: .65rem; margin-bottom: .65rem; + white-space: pre; background-color: transparent; border: 0; } @@ -290,6 +291,7 @@ pre code { @include font-size(inherit); color: $gray-900; // Effectively the base text color + word-wrap: normal; } }