1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

Merge pull request #13670 from nadangergeo/master

Table-responsive: changed overflow-x to auto to hide scrollbar when it's not overflown, fixes #13669.
This commit is contained in:
Mark Otto
2014-06-10 00:14:33 -07:00

View File

@@ -173,7 +173,7 @@ table {
width: 100%; width: 100%;
margin-bottom: (@line-height-computed * 0.75); margin-bottom: (@line-height-computed * 0.75);
overflow-y: hidden; overflow-y: hidden;
overflow-x: scroll; overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar; -ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid @table-border-color; border: 1px solid @table-border-color;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;