Fix dataTables collapsed on wide screens, Fix #59
This commit is contained in:
parent
2946d29d84
commit
fa756602a3
@ -128,6 +128,10 @@
|
|||||||
/*!*visibility: hidden*!*/
|
/*!*visibility: hidden*!*/
|
||||||
/*}*/
|
/*}*/
|
||||||
|
|
||||||
|
.data-table {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
.paginate_button {
|
.paginate_button {
|
||||||
padding: 0px 2px
|
padding: 0px 2px
|
||||||
}
|
}
|
||||||
@ -137,6 +141,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.table-search-field {
|
.table-search-field {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
|||||||
@ -26,9 +26,9 @@ $(document).ready(function () {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
rowReorder: {
|
rowReorder: {
|
||||||
selector: true,
|
selector: 'td:nth-child(2)'
|
||||||
},
|
},
|
||||||
responsive: true,
|
responsive: true
|
||||||
});
|
});
|
||||||
$('#data-table-search-input').keyup(function () {
|
$('#data-table-search-input').keyup(function () {
|
||||||
data_table.search($(this).val()).draw();
|
data_table.search($(this).val()).draw();
|
||||||
|
|||||||
Reference in New Issue
Block a user