Skip to content

Commit e7982f1

Browse files
authored
fix styles (#458)
1 parent 67b8d35 commit e7982f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agents-docs/src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export default function Layout({ children }: { children: ReactNode }) {
3030
<main
3131
id="nd-docs-layout"
3232
className={cn(
33-
'flex flex-1 flex-col pt-(--fd-nav-height) transition-[padding] fd-default-layout',
33+
'flex flex-1 flex-col pt-[calc(var(--fd-nav-height)-0.4rem)] transition-[padding] fd-default-layout',
3434
'mx-(--fd-layout-offset)',
35-
'md:[&_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8',
35+
'md:[&_#nd-page_article]:pt-0! xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8',
3636
'md:[--fd-sidebar-width:268px] lg:[--fd-sidebar-width:286px]',
3737
'flex flex-1 flex-row pe-(--fd-layout-offset) max-w-fd-container relative top-[calc(var(--fd-nav-height)+1rem)] px-4 ms-auto! me-auto!',
3838
)}

0 commit comments

Comments
 (0)