From d9cb044f6b92755cec0f447e371930c7a4b40b5c Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 2 Apr 2015 17:10:26 +0100 Subject: [PATCH] Fix - integration: `table-condensed` support for Bootstrap Fixes #138 --- integration/bootstrap/3/dataTables.bootstrap.css | 14 +++++++++++++- integration/bootstrap/3/index.html | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/integration/bootstrap/3/dataTables.bootstrap.css b/integration/bootstrap/3/dataTables.bootstrap.css index 11517a8..2730cd4 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.css +++ b/integration/bootstrap/3/dataTables.bootstrap.css @@ -112,7 +112,6 @@ table.dataTable thead .sorting_desc_disabled:after { } table.dataTable thead > tr > th { - padding-left: 8px; padding-right: 30px; } @@ -120,6 +119,19 @@ table.dataTable th:active { outline: none; } + +/* Condensed */ +table.dataTable thead > tr > th { + padding-right: 20px; +} + +table.dataTable.table-condensed thead .sorting:after, +table.dataTable.table-condensed thead .sorting_asc:after, +table.dataTable.table-condensed thead .sorting_desc:after { + top: 6px; + right: 6px; +} + /* Scrolling */ div.dataTables_scrollHead table { margin-bottom: 0 !important; diff --git a/integration/bootstrap/3/index.html b/integration/bootstrap/3/index.html index c477ef0..c6e0e47 100644 --- a/integration/bootstrap/3/index.html +++ b/integration/bootstrap/3/index.html @@ -20,7 +20,7 @@
- +
Rendering engine