1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 23:09:05 +02:00

Fixes #13202: Always use overflow: auto; on .table-responsive to prevent content breaking out of containers

This commit is contained in:
Mark Otto
2014-08-02 13:05:11 -07:00
parent 557d3e527c
commit feed9aed5b
11 changed files with 64 additions and 33 deletions

View File

@@ -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;