diff --git a/docs/content/tables.md b/docs/content/tables.md
index b927f35d57..c1661e5326 100644
--- a/docs/content/tables.md
+++ b/docs/content/tables.md
@@ -442,52 +442,50 @@ Add `.table-sm` to make tables more compact by cutting cell padding in half.
Use contextual classes to color table rows or individual cells.
-
-
-
-
-
-
-
-
- Class |
- Description |
-
-
-
-
-
- .table-active
- |
- Applies the hover color to a particular row or cell |
-
-
-
- .table-success
- |
- Indicates a successful or positive action |
-
-
-
- .table-info
- |
- Indicates a neutral informative change or action |
-
-
-
- .table-warning
- |
- Indicates a warning that might need attention |
-
-
-
- .table-danger
- |
- Indicates a dangerous or potentially negative action |
-
-
-
-
+
+
+
+
+
+
+
+ Class |
+ Description |
+
+
+
+
+
+ .table-active
+ |
+ Applies the hover color to a particular row or cell |
+
+
+
+ .table-success
+ |
+ Indicates a successful or positive action |
+
+
+
+ .table-info
+ |
+ Indicates a neutral informative change or action |
+
+
+
+ .table-warning
+ |
+ Indicates a warning that might need attention |
+
+
+
+ .table-danger
+ |
+ Indicates a dangerous or potentially negative action |
+
+
+
@@ -670,7 +668,7 @@ Regular table background variants are not available with the inverse table, howe
## Responsive tables
-Create responsive tables by wrapping any `.table` in `.table-responsive` to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.
+Create responsive tables by adding `.table-responsive` to any `.table` to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.
{% callout warning %}
#### Vertical clipping/truncation
@@ -693,103 +691,97 @@ For more information, read [this Stack Overflow answer](https://stackoverflow.co
{% endcallout %}
-
-
-
-
- # |
- 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 |
-
-
-
-
+
+
+
+ # |
+ 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 |
+
+
+
-
-
-
-
- # |
- 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 |
-
-
-
-
+
+
+
+ # |
+ 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 |
+
+
+
{% highlight html %}
-
+
{% endhighlight %}
diff --git a/scss/_tables.scss b/scss/_tables.scss
index 89b03e4b18..3d8000045b 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -136,8 +136,8 @@
// Responsive tables
//
-// Wrap your tables in `.table-responsive` and we'll make them mobile friendly
-// by enabling horizontal scrolling. Only applies <768px. Everything above that
+// Add `.table-responsive` to `.table`s and we'll make them mobile friendly by
+// enabling horizontal scrolling. Only applies <768px. Everything above that
// will display normally.
.table-responsive {
@@ -145,11 +145,12 @@
width: 100%;
min-height: 0%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
overflow-x: auto;
+ -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
- // TODO: find out if we need this still.
- //
- // border: $table-border-width solid $table-border-color;
- // -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 {
+ border: 0;
+ }
}