diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index 927b6db8a..d89ae0a70 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -60,12 +60,12 @@ The model also has to successfully apply all its changes to the source file with {% for row in edit_sorted %} {{ row.model }} - {{ row.pass_rate_2 }}% - {{ row.percent_cases_well_formed }}% + {{ row.pass_rate_2 }}% + {{ row.percent_cases_well_formed }}% {{ row.command }} {{ row.edit_format }} {% assign cost_percent = row.total_cost | times: 100.0 | divided_by: max_cost %} - {% if row.total_cost == 0 %}?{% else %}${{ row.total_cost | times: 1.0 | round: 2 }}{% endif %} + {% if row.total_cost == 0 %}?{% else %}${{ row.total_cost | times: 1.0 | round: 2 }}{% endif %} {% endfor %} @@ -106,9 +106,11 @@ The model also has to successfully apply all its changes to the source file with } .bar-cell { position: relative; /* Needed for z-index stacking */ + padding: 8px; /* Add padding */ background-image: linear-gradient(to right, rgba(54, 162, 235, 0.2) var(--percent), transparent var(--percent)); background-repeat: no-repeat; - background-position: left center; + background-position: left center; /* Center vertically */ + background-size: var(--percent) 60%; /* Control bar height (e.g., 60% of cell height) */ } .bar-cell span { position: relative;