Skip to content

Commit

Permalink
addressing comemnts
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Jan 9, 2025
1 parent a796499 commit 040121c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions resources/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -515,19 +515,23 @@ section#details .non-standard-params h2 {
text-align: left;
display: inline-block;
}

#non-standard-params-table tr {
padding: 2px;
}

#non-standard-params-table thead th {
border-bottom: 1px solid var(--foreground);
padding: 0.1em 0.2em;
}

#non-standard-params-table tbody th {
#non-standard-params-table tbody td {
font-weight: normal;
text-align: left;
padding: 0.1em 0.2em;
}

#non-standard-params-table thead th,
#non-standard-params-table tbody td {
padding: 0.1em 0.3em;
}

section#details .all-metric-results {
Expand Down
2 changes: 1 addition & 1 deletion resources/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ class MainBenchmarkClient {
return;
const body = document.createElement("tbody");
for (const { key, value, defaultValue } of paramsDiff) {
const row = body.insertRow(-1);
const row = body.insertRow();
row.insertCell().textContent = key;
row.insertCell().textContent = value;
row.insertCell().textContent = defaultValue;
Expand Down

0 comments on commit 040121c

Please sign in to comment.