]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Don't wrap the code snippets in our docs (#31679)
authorMark Otto <markd.otto@gmail.com>
Thu, 22 Oct 2020 22:06:52 +0000 (15:06 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 22:06:52 +0000 (01:06 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/assets/scss/_component-examples.scss

index 13e25bfc8891aa34bb345492614d7d471d96d3a7..9e3e1c653943e7d6e29ce07c0086e15403d137de 100644 (file)
     padding: 0;
     margin-top: .65rem;
     margin-bottom: .65rem;
+    white-space: pre;
     background-color: transparent;
     border: 0;
   }
   pre code {
     @include font-size(inherit);
     color: $gray-900; // Effectively the base text color
+    word-wrap: normal;
   }
 }