Skip to content

Commit 270eebb

Browse files
Change styling of detailed query totals row
1 parent c198b6f commit 270eebb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

site/static/detailed-query.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
#primary-table tr:nth-child(2n+1) {
2626
background-color: #F9F9F9;
2727
}
28+
#primary-table tr:nth-child(1) {
29+
background-color: #eee;
30+
font-style: italic;
31+
font-weight: bold;
32+
border-bottom: 1px solid black;
33+
}
2834

2935
[data-sort-idx]::after {
3036
content: "⇕";
@@ -163,9 +169,6 @@ <h3 id="title"></h3>
163169
row.appendChild(td);
164170
return td;
165171
}
166-
if (idx == 0) {
167-
row.style.fontStyle = "italic";
168-
}
169172
td(row, cur.label);
170173
td(row, to_seconds(cur.self_time).toFixed(3));
171174
if (cur.percent_total_time < 0) {

0 commit comments

Comments
 (0)