From 5e0832cb8b2b67fb4aac7fa30e612830fb3d36fa Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 23:21:38 -0700 Subject: [PATCH] feat: Add percentage ticks to leaderboard percentage columns --- aider/website/docs/leaderboards/index.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index c87c16f2d..263d241f7 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -118,16 +118,11 @@ The model also has to successfully apply all its changes to the source file with padding: 8px; text-align: center; /* Keep text centered */ overflow: hidden; /* Prevent bar from overflowing cell boundaries if needed */ - /* Default tick marks every 10% for percentage cells */ - background-image: repeating-linear-gradient(to right, - rgba(221, 221, 221, 0.5) 0px, rgba(221, 221, 221, 0.5) 1px, - transparent 1px, transparent 10%); - background-size: 100% 100%; } .cost-bar-cell { background-image: none; /* Remove default gradient for cost cells */ } - .cost-tick { + .percent-tick, .cost-tick { position: absolute; top: 50%; transform: translateY(-50%); @@ -157,6 +152,19 @@ The model also has to successfully apply all its changes to the source file with