OpenAPI: Fix overlap of navbar and api info

This commit is contained in:
fuma-nama
2024-07-15 21:22:13 +08:00
parent a5c34f06fe
commit 0c8eddf457
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-openapi': patch
---
Fix overlap of navbar and api info
+1 -1
View File
@@ -84,7 +84,7 @@ export function APIInfo({
<div className={cn('min-w-0 flex-1 prose-no-margin', className)} {...props}>
<div
className={cn(
'sticky top-24 z-10 flex flex-row items-center gap-2 rounded-lg border bg-card p-3 md:top-10',
'sticky top-24 z-[2] flex flex-row items-center gap-2 rounded-lg border bg-card p-3 md:top-10',
)}
>
<span