docs: fix scroll top margin (#8605)

This commit is contained in:
Shahed Nasser
2024-08-16 09:28:02 +03:00
committed by GitHub
parent 5abe9f9c66
commit 12728f17ad
6 changed files with 16 additions and 14 deletions

View File

@@ -10,15 +10,12 @@ const ReferencePage = async () => {
return (
<AreaProvider area={"admin"}>
<PageTitleProvider>
<h1 className="!text-h2 block lg:hidden">
<h1 className="!text-h2 scroll-m-56 lg:pl-4" id="introduction">
Medusa V2 Admin API Reference
</h1>
<DividedLayout
mainContent={
<Section checkActiveOnScroll={true}>
<h1 className="!text-h2 hidden lg:block">
Medusa V2 Admin API Reference
</h1>
<AdminContentV2 />
</Section>
}