From 46bb6b9deb1b9aad68149726fb74ab04803ba391 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 13 Feb 2014 09:54:46 +0000 Subject: [PATCH] Fix: Add padding to header in bootstrap for the sort icons to go into --- integration/bootstrap/2/dataTables.bootstrap.css | 1 + integration/bootstrap/3/dataTables.bootstrap.css | 7 ++++++- integration/bootstrap/3/index.html | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/integration/bootstrap/2/dataTables.bootstrap.css b/integration/bootstrap/2/dataTables.bootstrap.css index 6a95b15..bb011f5 100644 --- a/integration/bootstrap/2/dataTables.bootstrap.css +++ b/integration/bootstrap/2/dataTables.bootstrap.css @@ -166,6 +166,7 @@ div.DTFC_RightHeadWrapper table, div.DTFC_RightFootWrapper table, table.DTFC_Cloned tr.even { background-color: white; + margin-bottom: 0; } div.DTFC_RightHeadWrapper table , diff --git a/integration/bootstrap/3/dataTables.bootstrap.css b/integration/bootstrap/3/dataTables.bootstrap.css index b4e6472..c9701f8 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.css +++ b/integration/bootstrap/3/dataTables.bootstrap.css @@ -62,6 +62,11 @@ table.dataTable thead .sorting_desc { background: url('../images/sort_desc.png') table.dataTable thead .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } table.dataTable thead .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } +table.dataTable thead > tr > th { + padding-left: 18px; + padding-right: 18px; +} + table.dataTable th:active { outline: none; } @@ -185,6 +190,7 @@ div.DTFC_RightHeadWrapper table, div.DTFC_RightFootWrapper table, table.DTFC_Cloned tr.even { background-color: white; + margin-bottom: 0; } div.DTFC_RightHeadWrapper table , @@ -220,4 +226,3 @@ div.DTFC_RightFootWrapper table, div.DTFC_LeftFootWrapper table { border-top: none; } - diff --git a/integration/bootstrap/3/index.html b/integration/bootstrap/3/index.html index c6890d5..80d45dc 100644 --- a/integration/bootstrap/3/index.html +++ b/integration/bootstrap/3/index.html @@ -9,8 +9,7 @@ - - +