diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md
index 6065d360c..b5801239b 100644
--- a/aider/website/docs/leaderboards/index.md
+++ b/aider/website/docs/leaderboards/index.md
@@ -16,12 +16,12 @@ human intervention.
## Aider polyglot coding leaderboard
-
+
@@ -192,9 +192,11 @@ human intervention.
#view-mode-toggle {
height: 38px; /* Match input height */
box-sizing: border-box;
+ flex-shrink: 0; /* Prevent toggle from shrinking on small screens */
}
.mode-button {
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
+ white-space: nowrap; /* Prevent text wrapping */
}
.mode-button:not(.active) {
background-color: #f8f9fa; /* Light grey background */