]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix overflow auto removal on pre elements
authorMark Otto <markdotto@gmail.com>
Sun, 8 May 2016 20:48:21 +0000 (13:48 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 8 May 2016 20:48:21 +0000 (13:48 -0700)
scss/_code.scss

index ea660bcdbfda17800f671558acdafc9816f5cebd..0ac1abe54851d300010b47d899f20712119115b4 100644 (file)
@@ -35,6 +35,7 @@ kbd {
 // Blocks of code
 pre {
   display: block;
+  overflow: auto; // Normalize v4 removed this property, causing `<pre>` content to break out of wrapping code snippets
   margin-top: 0;
   margin-bottom: 1rem;
   font-size: $code-font-size;