docs: Improve table of content responsiveness (#43766)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-11-29 00:54:34 +00:00
committed by GitHub
parent be8605bb10
commit 200a4a5c78
+4 -2
View File
@@ -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;
}