-
-
-
- # |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
-
-
-
-
- 1 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 2 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 3 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
-
+Across every breakpoint, use `.table-responsive` for horizontally scrolling tables.
-
-
-
- # |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
-
-
-
-
- 1 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 2 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 3 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
-
+
+
+
+
+
+ # |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+
+
+
+
+ 1 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+ 2 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+ 3 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+
+
{% highlight html %}
-
+
{% endhighlight %}
### Breakpoint specific
@@ -720,51 +683,55 @@ Use `.table-responsive{-sm|-md|-lg|-xl}` as needed to create responsive tables u
{% for bp in site.data.breakpoints %}{% unless bp.breakpoint == "xs" %}
-
-
-
- # |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
- Table heading |
-
-
-
-
- 1 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 2 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
- 3 |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
- Table cell |
-
-
-
+
+
+
+
+ # |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+ Heading |
+
+
+
+
+ 1 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+ 2 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+ 3 |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+ Cell |
+
+
+
+
{% endunless %}{% endfor %}
{% highlight html %}
{% for bp in site.data.breakpoints %}{% unless bp.breakpoint == "xs" %}
-
+
{% endunless %}{% endfor %}
{% endhighlight %}
diff --git a/scss/_tables.scss b/scss/_tables.scss
index 6bd0b91a43..0e3b1198e3 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -171,7 +171,7 @@
-ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
// Prevent double border on horizontal scroll due to use of `display: block;`
- &.table-bordered {
+ > .table-bordered {
border: 0;
}
}