]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix markdown docs tables
authorMark Otto <markdotto@gmail.com>
Mon, 20 Mar 2017 00:37:38 +0000 (17:37 -0700)
committerMark Otto <markd.otto@gmail.com>
Mon, 20 Mar 2017 01:39:48 +0000 (18:39 -0700)
docs/assets/scss/_content.scss

index 3374aa633ed735d64e41bf96af1049cf99e80413..878787b21e7578da7c6e228cb3f9fa7773b37bfa 100644 (file)
@@ -6,11 +6,15 @@
 
 .bd-content {
   > table {
-    display: block;
     width: 100%;
     max-width: 100%;
     margin-bottom: 1rem;
-    overflow-y: auto;
+
+    @include media-breakpoint-down(md) {
+      display: block;
+      overflow-x: auto;
+      -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
+    }
 
     // Cells
     > thead,