aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-08-02 13:05:11 -0700
committerMark Otto <[email protected]>2014-08-02 13:05:11 -0700
commitfeed9aed5b471c20b02c4ca6620366cac9327db8 (patch)
treed3f024a3b046bff772497ef72fc23589f37e1cc2 /less
parent557d3e527cbbff5994b5ec48e11ec318aac4a776 (diff)
downloadbootstrap-feed9aed5b471c20b02c4ca6620366cac9327db8.tar.xz
bootstrap-feed9aed5b471c20b02c4ca6620366cac9327db8.zip
Fixes #13202: Always use overflow: auto; on .table-responsive to prevent content breaking out of containers
Diffstat (limited to 'less')
-rw-r--r--less/tables.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/tables.less b/less/tables.less
index 25db1fe40..ef745ea8e 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -169,11 +169,12 @@ table {
// will display normally.
.table-responsive {
+ overflow-x: auto;
+
@media screen and (max-width: @screen-xs-max) {
width: 100%;
margin-bottom: (@line-height-computed * 0.75);
overflow-y: hidden;
- overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid @table-border-color;
-webkit-overflow-scrolling: touch;