mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
feat: Remove numeric labels below cost bars in leaderboard table
This commit is contained in:
parent
1622531d85
commit
1a080ba71c
2 changed files with 1 additions and 18 deletions
|
@ -267,14 +267,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
tick.className = 'cost-tick';
|
||||
tick.style.left = `${percent}%`;
|
||||
|
||||
// Add dollar amount labels to the ticks
|
||||
if (index % 2 === 0) { // Only label every other tick to avoid crowding
|
||||
const label = document.createElement('div');
|
||||
label.className = 'cost-tick-label';
|
||||
label.textContent = '$' + tickValues[index];
|
||||
label.style.left = `${percent}%`;
|
||||
cell.appendChild(label);
|
||||
}
|
||||
// No dollar amount labels
|
||||
|
||||
cell.appendChild(tick);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue