Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Hide sidebar by default

Jeremiah Lowin6d7994bc22f8
diff --git a/docs/style.css b/docs/style.css
index 1e98ae2ff..f027f3706 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -117,3 +117,14 @@ h6 code:not(pre code) {
background: #334155;
border: 1px solid #64748b;
}
+
+/* Hide the sidebar overflow by default, but allow it to be shown on hover */
+#sidebar-content {
+ overflow-y: hidden;
+}
+
+#sidebar-content:hover,
+#sidebar-content:active,
+#sidebar-content:focus {
+ overflow-y: auto;
+}