Skip to content

Commit 34e45ee

Browse files
authored
Merge pull request #1 from xc1427/copilot/update-toc-responsive-breakpoint
Lower ToC breakpoint from 2xl (1536px) to xl (1280px)
2 parents e22544e + 2b5ef4f commit 34e45ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Layout/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export function Page({
151151
<div
152152
className={cn(
153153
hasColumns &&
154-
'grid grid-cols-only-content lg:grid-cols-sidebar-content 2xl:grid-cols-sidebar-content-toc'
154+
'grid grid-cols-only-content lg:grid-cols-sidebar-content xl:grid-cols-sidebar-content-toc'
155155
)}>
156156
{showSidebar && (
157157
<div className="lg:-mt-16 z-10">
@@ -192,7 +192,7 @@ export function Page({
192192
</div>
193193
</main>
194194
</Suspense>
195-
<div className="hidden -mt-16 lg:max-w-custom-xs 2xl:block">
195+
<div className="hidden -mt-16 lg:max-w-custom-xs xl:block">
196196
{showToc && toc.length > 0 && <Toc headings={toc} key={asPath} />}
197197
</div>
198198
</div>

0 commit comments

Comments
 (0)