diff --git a/aider/website/_includes/code-in-json-benchmark.js b/aider/website/_includes/code-in-json-benchmark.js index d312950d4..6c01e17af 100644 --- a/aider/website/_includes/code-in-json-benchmark.js +++ b/aider/website/_includes/code-in-json-benchmark.js @@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', function () { function getAspectRatio() { var width = chartContainer.offsetWidth; // Gradually change aspect ratio from 2 (landscape) to 1 (square) - return Math.max(1, Math.min(2, width / 400)); + return Math.max(1, Math.min(2, width / 300)); } var config = {