From 200a4a5c786cf23dedf0f9f38d86af764b69f8ea Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 28 Nov 2025 21:54:34 -0300 Subject: [PATCH] docs: Improve table of content responsiveness (#43766) Release Notes: - N/A --- docs/theme/page-toc.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/theme/page-toc.css b/docs/theme/page-toc.css index 4ec21f986bb27f87679daeb2654721a0eeba2624..bf127303089c11558bbdbb5b861d60ca17f0a915 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; }