fix(nx-dev): move table of contents down (#23350)

Move the top of the table of contents down
This commit is contained in:
Isaac Mann 2024-05-13 14:02:48 -04:00 committed by GitHub
parent 61129f49c2
commit 0bfd75f8b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ export function DocViewer({
{!hideTableOfContent && (
<div
className={cx(
'fixed top-36 right-[max(2rem,calc(50%-55rem))] z-20 hidden w-60 overflow-y-auto bg-white text-sm dark:bg-slate-900 xl:block'
'fixed right-[max(2rem,calc(50%-55rem))] top-48 z-20 hidden w-60 overflow-y-auto bg-white text-sm xl:block dark:bg-slate-900'
)}
>
<TableOfContents
@ -185,7 +185,7 @@ export function DocViewer({
</div>
</div>
<div
className={`flex w-full items-center space-x-2 pt-24 pb-24 sm:px-6 lg:pb-16 ${
className={`flex w-full items-center space-x-2 pb-24 pt-24 sm:px-6 lg:pb-16 ${
hideTableOfContent ? '' : 'xl:hidden'
}`}
>