]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Drop `.pre-scrollable` class
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 25 Jul 2019 16:03:45 +0000 (18:03 +0200)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 25 Jul 2019 16:42:45 +0000 (18:42 +0200)
scss/_code.scss
scss/_variables.scss
site/content/docs/4.3/content/code.md

index f100ddb901843b05a801244011b72012efe97db0..ccaff4382de12e02a88cea2524fd2fd3dc128c5c 100644 (file)
@@ -38,9 +38,3 @@ pre {
     word-break: normal;
   }
 }
-
-// Enable scrollable blocks of code
-.pre-scrollable {
-  max-height: $pre-scrollable-max-height;
-  overflow-y: scroll;
-}
index f7868490c7f166f913a4973831ac5f272da1a587..fc6e5b20e2683e0c8debc0a141252b1bb91164c3 100644 (file)
@@ -1106,4 +1106,3 @@ $kbd-color:                         $white !default;
 $kbd-bg:                            $gray-900 !default;
 
 $pre-color:                         null !default;
-$pre-scrollable-max-height:         340px !default;
index c0ddf5839f9900574d5d051a191eee6fded071cd..1e022f39166cfd2db54971a8604f7e039a15f9b2 100644 (file)
@@ -16,7 +16,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
 
 ## Code blocks
 
-Use `<pre>`s for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering. You may optionally add the `.pre-scrollable` class, which will set a max-height of 340px and provide a y-axis scrollbar.
+Use `<pre>`s for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering.
 
 {{< example >}}
 <pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;