mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
feat: Remove cost bar tear line, keep dark end cap
This commit is contained in:
parent
1a080ba71c
commit
0f8e7fbd34
2 changed files with 1 additions and 22 deletions
|
@ -215,13 +215,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
// Mark bars that exceed the limit
|
||||
if (cost > MAX_DISPLAY_COST) {
|
||||
// Add a tear marker at around $45 (90% of the way)
|
||||
const tearMarker = document.createElement('div');
|
||||
tearMarker.className = 'cost-tear-marker';
|
||||
tearMarker.style.left = '90%'; // Position at 90% (around $45)
|
||||
bar.parentNode.appendChild(tearMarker);
|
||||
|
||||
// Create a darker section after the tear
|
||||
// Create a darker section at the end
|
||||
const darkSection = document.createElement('div');
|
||||
darkSection.className = 'bar-viz';
|
||||
darkSection.style.width = '10%'; // From 90% to 100%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue