Skip to content

Commit 89fb5ba

Browse files
authored
Merge pull request #65 from MrSuttonmann/p2p-peer-count
Reassert hidden display:none for panel-stats rows
2 parents 4930208 + 0c6455b commit 89fb5ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/static/detail_panel.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,10 @@
391391
display: flex; flex-direction: column; gap: 1px;
392392
font-variant-numeric: tabular-nums;
393393
}
394+
/* Reassert the UA [hidden] rule — the .stat selector above sets
395+
display: flex, which would otherwise win over the (lower-specificity)
396+
attribute selector and leave hidden stats visible with empty values. */
397+
.panel-stats .stat[hidden] { display: none; }
394398
.panel-stats .stat-label {
395399
font-size: 9px; color: var(--muted);
396400
text-transform: uppercase; letter-spacing: 0.6px;

0 commit comments

Comments
 (0)