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:
parent
08d612f3e4
commit
4c015bf378
1 changed files with 9 additions and 7 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue