mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
feat: Remove cost exceeded marker from leaderboard table
This commit is contained in:
parent
7d0a9c7233
commit
1622531d85
2 changed files with 1 additions and 16 deletions
|
@ -231,10 +231,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
darkSection.style.zIndex = '1';
|
darkSection.style.zIndex = '1';
|
||||||
bar.parentNode.appendChild(darkSection);
|
bar.parentNode.appendChild(darkSection);
|
||||||
|
|
||||||
// Add a marker at the end of the bar
|
// No marker at the end of the bar
|
||||||
const marker = document.createElement('div');
|
|
||||||
marker.className = 'cost-exceeded-marker';
|
|
||||||
bar.parentNode.appendChild(marker);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Set width to 0 if cost is 0 or negative
|
// Set width to 0 if cost is 0 or negative
|
||||||
|
|
|
@ -196,18 +196,6 @@ human intervention.
|
||||||
);
|
);
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
.cost-exceeded-marker {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-top: 6px solid transparent;
|
|
||||||
border-bottom: 6px solid transparent;
|
|
||||||
border-left: 6px solid rgba(0, 0, 0, 0.5);
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
.bar-viz {
|
.bar-viz {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue