Fix - integration: `table-condensed` support for Bootstrap

Fixes #138
pull/183/head
Allan Jardine 10 years ago
parent 984aa9c54b
commit d9cb044f6b

@ -112,7 +112,6 @@ table.dataTable thead .sorting_desc_disabled:after {
} }
table.dataTable thead > tr > th { table.dataTable thead > tr > th {
padding-left: 8px;
padding-right: 30px; padding-right: 30px;
} }
@ -120,6 +119,19 @@ table.dataTable th:active {
outline: none; 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 */ /* Scrolling */
div.dataTables_scrollHead table { div.dataTables_scrollHead table {
margin-bottom: 0 !important; margin-bottom: 0 !important;

@ -20,7 +20,7 @@
<body> <body>
<div class="container"> <div class="container">
<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="example"> <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered table-condensed" id="example">
<thead> <thead>
<tr> <tr>
<th>Rendering engine</th> <th>Rendering engine</th>

Loading…
Cancel
Save