Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Improve table of content responsiveness (#43766)
Danilo Leal200a4a5c786c
diff --git a/docs/theme/page-toc.css b/docs/theme/page-toc.cssindex 4ec21f986bb..bf127303089 100644--- a/docs/theme/page-toc.css+++ b/docs/theme/page-toc.css@@ -5,8 +5,10 @@display: flex;flex-direction: column;gap: 4px;- width: 220px;padding: 28px 0 120px 0;+ max-width: 230px;+ min-width: 180px;+ width: 100%;max-height: calc(100svh - 50px);overflow-x: hidden;}@@ -72,7 +74,7 @@display: none;}-@media only screen and (max-width: 1020px) {+@media only screen and (max-width: 1200px) {.toc-container {display: none;}