From 0f8e7fbd348eb028d44b1da8014fa4a3fe0c8a50 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 13 Apr 2025 13:44:23 -0700 Subject: [PATCH] feat: Remove cost bar tear line, keep dark end cap --- aider/website/_includes/leaderboard_table.js | 8 +------- aider/website/docs/leaderboards/index.md | 15 --------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/aider/website/_includes/leaderboard_table.js b/aider/website/_includes/leaderboard_table.js index 8259f920f..c24d2639b 100644 --- a/aider/website/_includes/leaderboard_table.js +++ b/aider/website/_includes/leaderboard_table.js @@ -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% diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index f7aa8e1c7..34e55e31e 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -171,21 +171,6 @@ human intervention. background-color: rgba(170, 170, 170, 0.5); z-index: 2; /* Above the bar but below the text */ } - .cost-tear-marker { - position: absolute; - left: 90%; /* Position at 90% (around $45) */ - top: 10%; - height: 80%; - width: 2px; - background: repeating-linear-gradient( - to bottom, - transparent, - transparent 3px, - #888 3px, - #888 6px - ); - z-index: 3; - } .bar-viz { position: absolute; left: 0;