File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ window.ProbeRender = (function () {
5757 html += '<div style="display:flex;align-items:center;gap:10px;">' ;
5858 html += '<div style="min-width:24px;text-align:right;font-size:13px;font-weight:600;color:#656d76;">' + rank + '</div>' ;
5959 html += '<div style="min-width:110px;font-size:13px;font-weight:600;white-space:nowrap;">' + sv . name + '</div>' ;
60- html += '<div style="flex:1;height:22px;background:#f0f0f0;border-radius:3px;overflow:hidden;position:relative;">' ;
60+ var trackBg = document . documentElement . classList . contains ( 'dark' ) ? '#2a2f38' : '#f0f0f0' ;
61+ html += '<div style="flex:1;height:22px;background:' + trackBg + ';border-radius:3px;overflow:hidden;position:relative;">' ;
6162 html += '<div style="height:100%;width:' + barPct + '%;background:' + bg + ';border-radius:3px;transition:width 0.3s;"></div>' ;
6263 html += '</div>' ;
6364 html += '<div style="min-width:72px;text-align:right;font-size:13px;font-weight:700;">' + s . passed + '/' + scored + '</div>' ;
You can’t perform that action at this time.
0 commit comments