This commit is contained in:
2026-10-17 13:24:08 -04:00
parent 70c2199d87
commit 444d1b855d
+2 -2
View File
@@ -65,7 +65,7 @@ export function ScorePanel({ result, overall, weights, overlays, onWeight, onTog
</div> </div>
<div style={{ ...small, fontSize: 11 }}>{v === null ? "n/a" : `${Math.round(v * 100)}%`}</div> <div style={{ ...small, fontSize: 11 }}>{v === null ? "n/a" : `${Math.round(v * 100)}%`}</div>
</div> </div>
<div style={{ width: 80, flexShrink: 0, display: "flex", alignItems: "center", gap: 4 }} title="Priority 0-10"> <div style={{ width: 100, flexShrink: 0, display: "flex", alignItems: "center", gap: 4 }} title="Priority 0-10">
<input <input
type="range" type="range"
min={0} min={0}
@@ -73,7 +73,7 @@ export function ScorePanel({ result, overall, weights, overlays, onWeight, onTog
step={1} step={1}
value={weights[k]} value={weights[k]}
onChange={(e) => onWeight(k, Number(e.target.value))} onChange={(e) => onWeight(k, Number(e.target.value))}
style={{ flex: 1, cursor: "pointer" }} style={{ flex: 1, minWidth: 0, cursor: "pointer" }}
/> />
<span style={{ ...small, minWidth: 16, textAlign: "right", fontSize: 11 }}>{weights[k]}</span> <span style={{ ...small, minWidth: 16, textAlign: "right", fontSize: 11 }}>{weights[k]}</span>
</div> </div>