From 594efec0f1e81cce7d315eecb9c47cc1e3cff543 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 22 Oct 2020 15:06:52 -0700 Subject: [PATCH] Don't wrap the code snippets in our docs (#31679) Co-authored-by: XhmikosR --- site/assets/scss/_component-examples.scss | 2 ++ 1 file changed, 2 insertions(+) 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; } }