diff --git a/html/css/styles.css b/html/css/styles.css index 8b898de..d16b55b 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -16,7 +16,6 @@ body { background-color: #f5f5f5; } - /* Custom page CSS -------------------------------------------------- */ /* Not required for template or sticky footer method. */ @@ -26,11 +25,8 @@ body { padding: 0 15px; } -nowrap { - white-space:nowrap -} +td.dt-nowrap { white-space: nowrap } .red { background-color: Coral !important; } - diff --git a/html/index.html b/html/index.html index a943b0f..08e799a 100644 --- a/html/index.html +++ b/html/index.html @@ -262,11 +262,17 @@ $(row).removeClass('red'); } }, - "order": [[ 0, "desc" ]] + "order": [[ 0, "desc" ]], + "columnDefs": [ + { className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 7 ] } + ] } ); 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( {