From 813d34a0e9542fa76992089c0f7dbef1332db7aa Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 20:40:18 -0700 Subject: [PATCH] style: Fix inconsistent bar heights in leaderboards table --- aider/website/docs/leaderboards/index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index cdc1147b6..fadbda340 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -122,11 +122,10 @@ The model also has to successfully apply all its changes to the source file with .bar-viz { position: absolute; left: 0; - top: 0; - bottom: 0; + top: 50%; /* Position at the middle of the cell */ + transform: translateY(-50%); /* Center the bar vertically */ z-index: 0; /* Behind the text */ - height: 60%; /* Bar height */ - margin: auto 0; /* Vertical centering */ + height: 24px; /* Fixed bar height */ border-radius: 0 2px 2px 0; /* Slightly rounded end corners */ /* Width and colors are set inline via style attribute */ }