1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Do what the comment says; add this only to devices under 768px

This commit is contained in:
Mark Otto 2017-03-19 16:54:03 -07:00 committed by Mark Otto
parent 08d612f3e4
commit 4c015bf378

View file

@ -142,13 +142,15 @@
// will display normally. // will display normally.
.table-responsive { .table-responsive {
display: block; @include media-breakpoint-down(md) {
width: 100%; display: block;
overflow-x: auto; width: 100%;
-ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057 overflow-x: auto;
-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;` // Prevent double border on horizontal scroll due to use of `display: block;`
&.table-bordered { &.table-bordered {
border: 0; border: 0;
}
} }
} }