mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Do what the comment says; add this only to devices under 768px
This commit is contained in:
parent
08d612f3e4
commit
4c015bf378
@ -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…
x
Reference in New Issue
Block a user