1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +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

@@ -2244,11 +2244,13 @@ table th[class*="col-"] {
.table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
}
.table-responsive {
overflow-x: auto;
}
@media screen and (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long