diff options
| author | Mark Otto <[email protected]> | 2016-11-26 02:03:12 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-26 02:03:12 -0800 |
| commit | b9947152c67ff92f4ba9a8abf4c7ebbafef1b1fa (patch) | |
| tree | 5a1f523d26921741abf5b2c2b21302ab58dbca5d /scss | |
| parent | 8cd29af7ee12d3a684374636bc75078c8b401c4c (diff) | |
| parent | b88c32cf17a7976e12a4dc077389eb71d42df8ca (diff) | |
| download | bootstrap-b9947152c67ff92f4ba9a8abf4c7ebbafef1b1fa.tar.xz bootstrap-b9947152c67ff92f4ba9a8abf4c7ebbafef1b1fa.zip | |
Merge pull request #21208 from twbs/table-responsive-docs
Update .table-responsive
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_tables.scss | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss index 89b03e4b1..3d8000045 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -136,8 +136,8 @@ // Responsive tables // -// Wrap your tables in `.table-responsive` and we'll make them mobile friendly -// by enabling horizontal scrolling. Only applies <768px. Everything above that +// Add `.table-responsive` to `.table`s and we'll make them mobile friendly by +// enabling horizontal scrolling. Only applies <768px. Everything above that // will display normally. .table-responsive { @@ -145,11 +145,12 @@ width: 100%; min-height: 0%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837) overflow-x: auto; + -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057 - // TODO: find out if we need this still. - // - // border: $table-border-width solid $table-border-color; - // -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;` + &.table-bordered { + border: 0; + } } |
