diff --git a/index.html b/index.html index 4159f7a..546c853 100644 --- a/index.html +++ b/index.html @@ -13,10 +13,10 @@ - - + diff --git a/meshmon.css b/meshmon.css index 60d57ac..b3947ea 100644 --- a/meshmon.css +++ b/meshmon.css @@ -5,7 +5,7 @@ body { font-family: sans-serif; } -.main-table table, th, td { +.main-table table, td { white-space: nowrap; padding-left: 8px; padding-right: 8px; @@ -43,10 +43,10 @@ body { .main-table tbody tr { text-align: right; } -.main-table tbody tr:nth-child(odd) { + +.packet-header-row { background: #333333; } - .decoded td { text-align: left; font-size: 80%; diff --git a/meshmon.js b/meshmon.js index bc0d577..e38b1fb 100644 --- a/meshmon.js +++ b/meshmon.js @@ -211,6 +211,7 @@ const dummyHeader = { function render(se) { var row = tbody.insertRow(); + row.className = 'packet-header-row'; fields.forEach((field) => { row.insertCell().innerHTML = se.header[field]; });
+
- +