Added some no-wraps on some columns
This commit is contained in:
parent
42022a9726
commit
44c98a2f4e
2 changed files with 9 additions and 7 deletions
|
@ -16,7 +16,6 @@ body {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Custom page CSS
|
/* Custom page CSS
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
/* Not required for template or sticky footer method. */
|
/* Not required for template or sticky footer method. */
|
||||||
|
@ -26,11 +25,8 @@ body {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nowrap {
|
td.dt-nowrap { white-space: nowrap }
|
||||||
white-space:nowrap
|
|
||||||
}
|
|
||||||
|
|
||||||
.red {
|
.red {
|
||||||
background-color: Coral !important;
|
background-color: Coral !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -262,11 +262,17 @@
|
||||||
$(row).removeClass('red');
|
$(row).removeClass('red');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"order": [[ 0, "desc" ]]
|
"order": [[ 0, "desc" ]],
|
||||||
|
"columnDefs": [
|
||||||
|
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 7 ] }
|
||||||
|
]
|
||||||
} );
|
} );
|
||||||
|
|
||||||
var t_localh = $('#localHeard').DataTable( {
|
var t_localh = $('#localHeard').DataTable( {
|
||||||
"order": [[ 0, "desc" ]]
|
"order": [[ 0, "desc" ]],
|
||||||
|
"columnDefs": [
|
||||||
|
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 6 ] }
|
||||||
|
]
|
||||||
} );
|
} );
|
||||||
|
|
||||||
var t_dapnet = $('#dapnetmessages').DataTable( {
|
var t_dapnet = $('#dapnetmessages').DataTable( {
|
||||||
|
|
Loading…
Reference in a new issue