diff options
| author | Mark Otto <[email protected]> | 2013-08-18 21:43:05 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-18 21:43:05 -0700 |
| commit | e989acfc7966b78c09bc9bbdb4e9284b983074b4 (patch) | |
| tree | b52166b71c1cb01536a101729efdd1bf6ec737b4 /assets/css | |
| parent | 1a8d1b7586822d1105feb36a632be98da70781d0 (diff) | |
| download | bootstrap-e989acfc7966b78c09bc9bbdb4e9284b983074b4.tar.xz bootstrap-e989acfc7966b78c09bc9bbdb4e9284b983074b4.zip | |
Add responsive tables with help of `.table-responsive` wrapper
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/docs.css | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/assets/css/docs.css b/assets/css/docs.css index 3304c0145..963169891 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -862,36 +862,7 @@ body { */ /* Responsive (scrollable) doc tables */ -@media (max-width: 768px) { - .bs-table-scrollable { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - overflow-x: scroll; - border: 1px solid #ddd; - } - .bs-table-scrollable .table { - margin-bottom: 0; - border: 0; - } - .bs-table-scrollable .table th, - .bs-table-scrollable .table td { - white-space: nowrap; - } - .bs-table-scrollable .table th:first-child, - .bs-table-scrollable .table td:first-child { - border-left: 0; - } - .bs-table-scrollable .table th:last-child, - .bs-table-scrollable .table td:last-child { - border-right: 0; - } - .bs-table-scrollable .table tr:last-child th, - .bs-table-scrollable .table tr:last-child td { - border-bottom: 0; - } -} -.bs-table-scrollable .highlight pre { +.table-responsive .highlight pre { white-space: normal; } |
