Skip to content

Commit

Permalink
Collapse decoded if msg id has been seen
Browse files Browse the repository at this point in the history
  • Loading branch information
mskvortsov committed Apr 22, 2024
1 parent 0538a2e commit ecf413e
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 136 deletions.
146 changes: 70 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@bufbuild/protobuf": "^1.8.0",
"crypto-js": "^4.2.0",
"paho-mqtt": "^1.1.0",
"up": "^1.0.2",
"yaml": "^2.4.1"
},
"devDependencies": {
Expand Down
26 changes: 20 additions & 6 deletions src/meshmon.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,11 @@ body {
text-align: left;
}

.table-head,
.table-foot {
.table-head, .table-foot {
width: 100%;
}

.table-head td,
.table-foot td {
.table-head td, .table-foot td {
padding: 0;
width: 100%;
border: 0;
Expand All @@ -167,6 +165,23 @@ body {
border-radius: 5px;
}

/* Decoded row expanding and collapsing */

.packet-decoded.collapsed {
display: none;
}
.table-main tbody tr td:first-child {
border-right: none;
}
.table-main tbody tr td:nth-child(2) {
border-left: none;
}
.collapser {
user-select: none;
cursor: pointer;
font-weight: bold;
}

/* Row selection */

.selected.packet-header-row {
Expand Down Expand Up @@ -275,8 +290,7 @@ input:checked+.theme-slider:before {
}

/* For Safari */
input,
button {
input, button {
font-family: var(--font-family-main);
font-size: 14px;
}
Loading

0 comments on commit ecf413e

Please sign in to comment.