We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 110c634 commit f8b276eCopy full SHA for f8b276e
src/components/docPage/index.tsx
@@ -134,6 +134,14 @@ export function DocPage({
134
max-width: none;
135
box-sizing: border-box;
136
}
137
+ /* At toc breakpoint (1490px), constrain content to leave room for TOC */
138
+ @media (min-width: 1490px) {
139
+ #doc-content {
140
+ /* Calculate max width: viewport - sidebar - TOC - gaps - padding */
141
+ /* Leave room for: sidebar (300px) + TOC (250px) + gaps (48px) + padding (96px) */
142
+ max-width: calc(100vw - 300px - 250px - 48px - 96px);
143
+ }
144
145
@media (min-width: 2057px) {
146
:root {
147
--doc-content-w: 1100px;
0 commit comments